|
|
@@ -13,8 +13,9 @@
|
|
|
"test:unit:all": "npm run test:unit:run_dir -- test/unit/src modules/*/test/unit/src",
|
|
|
"test:unit:all:silent": "npm run test:unit:all -- --reporter dot",
|
|
|
"test:unit:app": "npm run test:unit:run_dir -- test/unit/src",
|
|
|
+ "test:unit": "vitest run",
|
|
|
"test:unit:parallel": "vitest run --project=Parallel",
|
|
|
- "test:unit:sequential": "vitest run --project=Sequential --no-file-parallelism",
|
|
|
+ "test:unit:sequential": "vitest run --project=Sequential",
|
|
|
"test:unit: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",
|
|
|
@@ -408,7 +409,7 @@
|
|
|
"typescript": "^5.8.3",
|
|
|
"use-stick-to-bottom": "^1.1.1",
|
|
|
"uuid": "^9.0.1",
|
|
|
- "vitest": "^3.1.2",
|
|
|
+ "vitest": "^4.0.0",
|
|
|
"w3c-keyname": "^2.2.8",
|
|
|
"webpack": "^5.98.0",
|
|
|
"webpack-assets-manifest": "^5.2.1",
|