Skip to content

Commit abb1eb2

Browse files
authored
Only use a single worker for playwright tests. (#2191)
1 parent 532ac0c commit abb1eb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyscript.core/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"build:3rd-party": "node rollup/3rd-party.cjs",
4141
"build:tests-index": "node rollup/build_test_index.cjs",
4242
"clean:3rd-party": "rm src/3rd-party/*.js && rm src/3rd-party/*.css",
43-
"test:integration": "static-handler --coi . 2>/dev/null & SH_PID=$!; EXIT_CODE=0; playwright test --fully-parallel tests/js_tests.spec.js tests/py_tests.spec.js || EXIT_CODE=$?; kill $SH_PID 2>/dev/null; exit $EXIT_CODE",
43+
"test:integration": "static-handler --coi . 2>/dev/null & SH_PID=$!; EXIT_CODE=0; playwright test --workers=1 tests/js_tests.spec.js tests/py_tests.spec.js || EXIT_CODE=$?; kill $SH_PID 2>/dev/null; exit $EXIT_CODE",
4444
"test:ws": "bun tests/ws/index.js & playwright test tests/ws.spec.js",
4545
"dev": "node dev.cjs",
4646
"release": "npm run build && npm run zip",

0 commit comments

Comments
 (0)