Skip to content

Commit cb8a0af

Browse files
committed
Properly send response status of 204 for persistence test
For some reason, the prior method of constructing a Response was having a status code of 200.
1 parent d815529 commit cb8a0af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/integration/persistence.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ describe("Model persistence", () => {
349349

350350
fetchMock.mock({
351351
matcher: "http://example.com/api/v1/people/1",
352-
response: new Response({ status: 204 } as any)
352+
response: { status: 204 }
353353
})
354354
})
355355

0 commit comments

Comments
 (0)