This commit is contained in:
Louis Lam 2024-10-26 19:46:44 +08:00
parent dd5347b25e
commit cb26b79498

View file

@ -29,7 +29,7 @@
"test-with-build": "npm run build && npm test", "test-with-build": "npm run build && npm test",
"test-backend": "node extra/test-backend.mjs", "test-backend": "node extra/test-backend.mjs",
"test-backend-node20": "cross-env TEST_BACKEND=1 node --test test/backend-test", "test-backend-node20": "cross-env TEST_BACKEND=1 node --test test/backend-test",
"test-backend-node22": "cross-env TEST_BACKEND=1 node --test test/backend-test/**/test-*.js", "test-backend-node22": "cross-env TEST_BACKEND=1 node --test test/backend-test/test-*.js && node --test test/backend-test/**/test-*.js",
"test-e2e": "playwright test --config ./config/playwright.config.js", "test-e2e": "playwright test --config ./config/playwright.config.js",
"test-e2e-ui": "playwright test --config ./config/playwright.config.js --ui --ui-port=51063", "test-e2e-ui": "playwright test --config ./config/playwright.config.js --ui --ui-port=51063",
"playwright-codegen": "playwright codegen localhost:3000 --save-storage=./private/e2e-auth.json", "playwright-codegen": "playwright codegen localhost:3000 --save-storage=./private/e2e-auth.json",