We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0417ba2 commit 1045b98Copy full SHA for 1045b98
packages/vitest/src/node/pool.ts
@@ -37,16 +37,14 @@ export function createPool(ctx: Vitest): ProcessPool {
37
}
38
39
function getDefaultPoolName(project: WorkspaceProject, file: string): Pool {
40
- if (project.config.browser.enabled)
41
- return 'browser'
42
-
43
if (project.config.typecheck.enabled) {
44
for (const glob of project.config.typecheck.include) {
45
if (mm.isMatch(file, glob, { cwd: project.config.root }))
46
return 'typescript'
47
48
49
+ if (project.config.browser.enabled)
+ return 'browser'
50
return project.config.pool
51
52
0 commit comments