mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-08-24 07:12:18 +10:00
test: cap turbo concurrency so suites stop timing out
Turbo defaults to ten concurrent tasks and each vitest sizes its pool to the core count, so a ten-core machine ran roughly a hundred workers and a 1.6s test blew its 15s budget. Different suites failed on every run. At concurrency four the whole repo passed five runs straight with no wall-clock cost.
This commit is contained in:
+4
-4
@@ -33,13 +33,13 @@
|
|||||||
"knip": "knip",
|
"knip": "knip",
|
||||||
"start": "node apps/server/dist/index.mjs",
|
"start": "node apps/server/dist/index.mjs",
|
||||||
"typecheck": "turbo run typecheck",
|
"typecheck": "turbo run typecheck",
|
||||||
"test": "turbo run test",
|
"test": "turbo run test --concurrency=4",
|
||||||
"test:coverage": "turbo run test:coverage",
|
"test:coverage": "turbo run test:coverage --concurrency=4",
|
||||||
"test:ci": "turbo run test:ci",
|
"test:ci": "turbo run test:ci --concurrency=4",
|
||||||
"test:e2e": "playwright test",
|
"test:e2e": "playwright test",
|
||||||
"test:e2e:ui": "playwright test --ui",
|
"test:e2e:ui": "playwright test --ui",
|
||||||
"test:e2e:ci": "playwright test",
|
"test:e2e:ci": "playwright test",
|
||||||
"test:agent": "turbo run test:agent"
|
"test:agent": "turbo run test:agent --concurrency=4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@biomejs/biome": "^2.5.7",
|
"@biomejs/biome": "^2.5.7",
|
||||||
|
|||||||
Reference in New Issue
Block a user