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
// Test files are passed to test runner one at a time, except for Typechecker or when "--maxWorker=1 --no-isolate"
336
335
typeSpecsForRunner=TestSpecification[]
337
336
338
337
// Tests in a single group are executed with `maxWorkers` parallelism.
@@ -361,6 +360,7 @@ function groupSpecs(specs: TestSpecification[]) {
361
360
}
362
361
363
362
constmaxWorkers=resolveMaxWorkers(spec.project)
363
+
constisolate=spec.project.config.isolate
364
364
groups[order]||={specs: [], maxWorkers }
365
365
366
366
// Multiple projects with different maxWorkers but same groupId
@@ -370,6 +370,20 @@ function groupSpecs(specs: TestSpecification[]) {
370
370
thrownewError(`Projects "${last}" and "${spec.project.name}" have different 'maxWorkers' but same 'sequence.groupId'.\nProvide unique 'sequence.groupId' for them.`)
371
371
}
372
372
373
+
// Non-isolated single worker can receive all files at once
0 commit comments