You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/vitest/src/node/pool.ts
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -431,8 +431,12 @@ function groupSpecs(specs: TestSpecification[], environments: WeakMap<TestSpecif
431
431
thrownewError(`Projects "${last}" and "${spec.project.name}" have different 'maxWorkers' but same 'sequence.groupOrder'.\nProvide unique 'sequence.groupOrder' for them.`)
432
432
}
433
433
434
-
// Non-isolated single worker can receive all files at once
435
-
if(isolate===false&&maxWorkers===1){
434
+
// Non-isolated single worker can receive all files at once.
435
+
// vm pools are excluded: their `isolate: false` comes from config
436
+
// resolution rather than the user, because their isolation is a fresh VM
437
+
// context per run request — batching files into a single run request
0 commit comments