Skip to content

Commit 8f9c456

Browse files
committed
fix e2e:dev
1 parent 8726aaa commit 8f9c456

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/playground15/e2e/base.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ test.describe("playground/base", () => {
4646
});
4747

4848
test("returns correct information about the request from a route handler", async ({ page, baseURL }) => {
49-
const res = await page.request.get("/api/request");
49+
const res = await page.request.get("/api/request/");
5050
// 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`;
51+
const expectedURL = `${baseURL}/api/request/`;
5252
await expect(res.json()).resolves.toEqual({ nextUrl: expectedURL, url: expectedURL });
5353
});
5454

0 commit comments

Comments
 (0)