Revert "-"

This reverts commit 76ca212641.
This commit is contained in:
Shreyas Goenka 2025-01-29 16:15:50 +01:00
parent 76ca212641
commit b93fa07917
No known key found for this signature in database
GPG Key ID: 92A07DF49CCB0622
1 changed files with 1 additions and 0 deletions

View File

@ -208,6 +208,7 @@ func runTest(t *testing.T, dir, coverDir string, repls testdiff.ReplacementsCont
for _, stub := range config.Server {
require.NotEmpty(t, stub.Pattern)
require.NotEmpty(t, stub.Response.Body)
server.Handle(stub.Pattern, func(req *http.Request) (resp any, err error) {
b := json.RawMessage(stub.Response.Body)
return b, nil