We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24a09fc commit 1882d89Copy full SHA for 1882d89
examples/e2e/pages-router/e2e/header.test.ts
@@ -10,5 +10,5 @@ test("should test if poweredByHeader adds the correct headers ", async ({ page }
10
expect(headers?.["x-powered-by"]).toBe("Next.js");
11
expect(headers?.["x-opennext"]).toBe("1");
12
// This header should be defined cause we have set the `OPEN_NEXT_REQUEST_ID_HEADER` env variable in wrangler.jsonc
13
- expect(headers?.["x-opennext-requestid"]).not.toBeFalsy();
+ expect(headers?.["x-opennext-requestid"]).not.toBeUndefined();
14
});
0 commit comments