File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,7 @@ const isJestWorker = !!getEnvironmentVariable('JEST_WORKER_ID')
8
8
const isCucumberWorker = ! ! getEnvironmentVariable ( 'CUCUMBER_WORKER_ID' )
9
9
const isMochaWorker = ! ! getEnvironmentVariable ( 'MOCHA_WORKER_ID' )
10
10
11
- // we can't use VITEST_WORKER_ID because it's set _after_ the worker is initialized
12
- // maybe we can intercept tinypool to inject it to be sure
11
+ // We can't use VITEST_WORKER_ID because it's set _after_ the worker is initialized
13
12
const isVitestWorker = ! ! getEnvironmentVariable ( 'TINYPOOL_WORKER_ID' )
14
13
const isPlaywrightWorker = ! ! getEnvironmentVariable ( 'DD_PLAYWRIGHT_WORKER' )
15
14
@@ -19,8 +18,6 @@ const packageManagers = [
19
18
'pnpm'
20
19
]
21
20
22
- console . log ( 'init' , isVitestWorker )
23
-
24
21
const isPackageManager = ( ) => {
25
22
return packageManagers . some ( packageManager => process . argv [ 1 ] ?. includes ( `bin/${ packageManager } ` ) )
26
23
}
@@ -82,7 +79,6 @@ if (isPlaywrightWorker) {
82
79
}
83
80
84
81
if ( isVitestWorker ) {
85
- console . log ( 'initializing as vites tworker' )
86
82
options . experimental = {
87
83
exporter : 'vitest_worker'
88
84
}
You can’t perform that action at this time.
0 commit comments