Skip to content

Commit 0ca62ab

Browse files
authored
fix: remove forced test exit on windows (#1897)
Workaround for nodejs/node#56645
1 parent 99afb6d commit 0ca62ab

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/test/node.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import os from 'os'
21
import path from 'path'
32
import { fileURLToPath } from 'url'
43
import { execa } from 'execa'
@@ -65,10 +64,6 @@ export default async function testNode (argv, execaOptions) {
6564
args.push(...argv['--'])
6665
}
6766

68-
if (os.platform() === 'win32') {
69-
args.push('--exit')
70-
}
71-
7267
// before hook
7368
const before = await argv.fileConfig.test.before(argv)
7469
const beforeEnv = before && before.env ? before.env : {}

0 commit comments

Comments
 (0)