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 8726aaa commit 8f9c456Copy full SHA for 8f9c456
examples/playground15/e2e/base.spec.ts
@@ -46,9 +46,9 @@ test.describe("playground/base", () => {
46
});
47
48
test("returns correct information about the request from a route handler", async ({ page, baseURL }) => {
49
- const res = await page.request.get("/api/request");
+ const res = await page.request.get("/api/request/");
50
// Next.js can fall back to `localhost:3000` or `n` if it doesn't get the host - neither of these are expected.
51
- const expectedURL = `${baseURL}/api/request`;
+ const expectedURL = `${baseURL}/api/request/`;
52
await expect(res.json()).resolves.toEqual({ nextUrl: expectedURL, url: expectedURL });
53
54
0 commit comments