Skip to content

Commit 0f1ab3b

Browse files
committed
test(handler): fix broken test case since 165610d
1 parent c14050a commit 0f1ab3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

__tests__/unit/handler.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ test("should parse response and return data if status is 200", async () => {
1111

1212
test("should throw an error if status is 404", async () => {
1313
const response = new Response("Not Found", { status: 404 });
14-
await expect(parseOrThrow(response)).rejects.toThrowError("NEXT_NOT_FOUND");
14+
await expect(parseOrThrow(response)).rejects.toThrowError("NEXT_HTTP_ERROR_FALLBACK;404");
1515
});
1616

1717
test("should throw an error if status is not 200 or 404", async () => {

0 commit comments

Comments
 (0)