Skip to content

Commit 85264b0

Browse files
committed
test: fix test setup for Windows systems
1 parent 5b2759b commit 85264b0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/integration/integration-node-interop.test.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,11 @@ for (const esm of [true, false] as const) {
9191
runInstallScripts: true,
9292
npmInstall: ['@babel/core@latest', 'jest@latest', nodeVersion],
9393
runWith: {
94-
binary: path.join('node_modules', '.bin', 'node'),
94+
binary: 'npx',
9595
args: [
96+
'node',
9697
'--experimental-vm-modules',
97-
path.join('node_modules', '.bin', 'jest')
98+
path.join('node_modules', 'jest', 'bin', 'jest')
9899
]
99100
}
100101
},

0 commit comments

Comments
 (0)