Skip to content

Commit 47ccdc1

Browse files
committed
refactor
1 parent 353f51b commit 47ccdc1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/tests-e2e/tests/appPagesRouter/host.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ test("Request.url is host", async ({ baseURL, page }) => {
77
// We skip this test when E2E is run locally with `http` as protocol.
88
// The cause can be seen here: https://github.com/opennextjs/opennextjs-aws/issues/969#issuecomment-3239569901
99
test.skip(
10-
(baseURL ?? "").includes("http://localhost"),
10+
(baseURL ?? "").startsWith("http://localhost"),
1111
"Skipping test on localhost",
1212
);
1313
await page.goto("/api/host");

packages/tests-e2e/tests/appRouter/host.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ test("Request.url is host", async ({ baseURL, page }) => {
77
// We skip this test when E2E is run locally with `http` as protocol.
88
// The cause can be seen here: https://github.com/opennextjs/opennextjs-aws/issues/969#issuecomment-3239569901
99
test.skip(
10-
(baseURL ?? "").includes("http://localhost"),
10+
(baseURL ?? "").startsWith("http://localhost"),
1111
"Skipping test on localhost",
1212
);
1313
await page.goto("/api/host");

0 commit comments

Comments
 (0)