mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-08 16:50:44 +02:00
Split test projects so we can apply --no-file-parallelism
GitOrigin-RevId: 37f11a9e363bcf91dd77f62ef191f62d61e3a94f
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user