Skip to content

Commit b609bc2

Browse files
chore: app option to run the vite-plugin playground serve tests in parallel (#8617)
1 parent 95eb47d commit b609bc2

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

packages/vite-plugin-cloudflare/playground/package.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,13 @@
55
"type": "module",
66
"scripts": {
77
"check:types": "tsc --build",
8-
"test:build": "cross-env VITE_TEST_BUILD=1 vitest run -c vitest.config.e2e.ts",
9-
"pretest:ci": "pnpm playwright install chromium",
10-
"test:ci": "pnpm test:serve && pnpm test:build",
11-
"test:serve": "vitest run -c vitest.config.e2e.ts"
8+
"playwright:install": "pnpm playwright install chromium",
9+
"pretest:ci": "pnpm playwright:install",
10+
"test:ci": "pnpm test:ci:serve && pnpm test:ci:build",
11+
"test:ci:build": "cross-env VITE_TEST_BUILD=1 vitest run -c vitest.config.e2e.ts",
12+
"test:ci:serve": "vitest run -c vitest.config.e2e.ts",
13+
"pretest:serve": "pnpm playwright:install",
14+
"test:serve": "pnpm test:ci:serve --poolOptions.forks.singleFork=false"
1215
},
1316
"devDependencies": {
1417
"@cloudflare/vite-plugin": "workspace:*",

0 commit comments

Comments
 (0)