|
|
@@ -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",
|