Skip to content

Commit 3b452bf

Browse files
committed
test(vite-example): us start and port 8085
CI does not like preview/4173. Better developer experience.
1 parent 7305870 commit 3b452bf

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

examples/vite/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
"scripts": {
77
"start": "vite",
88
"build": "vite build",
9-
"start:production": "vite preview",
9+
"preview": "vite preview",
1010
"test:browser": "npx playwright test",
1111
"test:browser:ui": "npx playwright test --ui",
1212
"test:browser:debug": "npx playwright test --debug",
1313
"test:browser:report": "npx playwright show-report",
14-
"test:debug": "start-server-and-test start:production http://localhost:4173 test:browser:debug",
15-
"test:ui": "start-server-and-test start:production http://localhost:4173 test:browser:ui",
16-
"test": "start-server-and-test start:production http://localhost:4173 test:browser"
14+
"test:debug": "start-server-and-test start http://localhost:8085 test:browser:debug",
15+
"test:ui": "start-server-and-test start http://localhost:8085 test:browser:ui",
16+
"test": "start-server-and-test start http://localhost:8085 test:browser"
1717
},
1818
"repository": {
1919
"type": "git",

examples/vite/tests/read-image.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import { test, expect } from "@playwright/test";
33

44
test("loads an image", async ({ page }) => {
5-
await page.goto("http://localhost:4173/");
5+
await page.goto("http://localhost:8085/");
66

77
await expect(page).toHaveTitle(/ITK-Wasm Vite/);
88

0 commit comments

Comments
 (0)