8000 Splitting integration tests · pyscript/pyscript@5b0f576 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5b0f576

Browse files
committed
Splitting integration tests
1 parent 46239ca commit 5b0f576

File tree

4 files changed

+28
-25
lines changed

4 files changed

+28
-25
lines changed

core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"build:3rd-party": "node rollup/3rd-party.cjs",
4848
"build:tests-index": "node rollup/build_test_index.cjs",
4949
"clean:3rd-party": "rm src/3rd-party/*.js && rm src/3rd-party/*.css",
50-
"test:integration": "npm run test:ws; static-handler --coi . 2>/dev/null & SH_PID=$!; EXIT_CODE=0; playwright test tests/js_tests.spec.js tests/py_tests.spec.js || EXIT_CODE=$?; kill $SH_PID 2>/dev/null; exit $EXIT_CODE",
50+
"test:integration": "npm run test:ws; static-handler --coi . 2>/dev/null & SH_PID=$!; EXIT_CODE=0; (playwright test tests/js_tests.spec.js && playwright test tests/py_tests.main.spec.js && playwright test tests/py_tests.worker.spec.js) || EXIT_CODE=$?; kill $SH_PID 2>/dev/null; exit $EXIT_CODE",
5151
"test:ws": "bun tests/javascript/ws/index.js & playwright test tests/javascript/ws/index.spec.js",
5252
"dev": "node dev.cjs",
5353
"release": "npm run build && npm run zip",

0 commit comments

Comments
 (0)
0