Split test projects so we can apply --no-file-parallelism

GitOrigin-RevId: 37f11a9e363bcf91dd77f62ef191f62d61e3a94f
This commit is contained in:
Andrew Rumble
2025-11-05 11:34:09 +00:00
committed by Copybot
parent d2cf8d58cf
commit 1361bc2858
+3 -1
View File
@@ -15,7 +15,9 @@
"test:unit:app": "npm run test:unit:run_dir -- test/unit/src",
"test:unit:mocha": "npm run test:unit:mocha:run_dir -- test/unit/src modules/*/test/unit/src",
"test:unit:mocha:run_dir": "mocha --recursive --timeout 25000 --exit --grep=$MOCHA_GREP --require test/unit/bootstrap.js --extension=js",
"test:unit:esm": "vitest run",
"test:unit:esm": "npm run test:unit:esm:parallel && npm run test:unit:esm:sequential",
"test:unit:esm:parallel": "vitest run --project=Parallel",
"test:unit:esm:sequential": "vitest run --project=Sequential --no-file-parallelism",
"test:unit:esm:watch": "vitest",
"test:frontend": "NODE_ENV=test TZ=GMT mocha --recursive --timeout 5000 --exit --extension js,jsx,mjs,ts,tsx --grep=$MOCHA_GREP --require test/frontend/bootstrap.js --ignore '**/*.spec.{js,jsx,ts,tsx}' --ignore '**/helpers/**/*.{js,jsx,ts,tsx}' test/frontend modules/*/test/frontend",
"test:frontend:coverage": "c8 --all --include 'frontend/js' --include 'modules/*/frontend/js' --exclude 'frontend/js/vendor' --reporter=lcov --reporter=text-summary npm run test:frontend",