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 f780e2a commit 3773935Copy full SHA for 3773935
packages/@vuepress/test-utils/lib/createJestRunner.js
@@ -6,9 +6,10 @@ const usedPorts = []
6
module.exports = function createJestRunner (jestArgs) {
7
return async function () {
8
const execArgv = getChildProcesExecArgv()
9
- const args = [...execArgv, ...jestArgs, ...rawArgs]
+ const args = [...execArgv, ...jestArgs]
10
console.log(`running node with args: ${args.join(' ')}`)
11
- await execa('jest', args, {
+ args.unshift(...rawArgs, require.resolve('jest-cli/bin/jest'))
12
+ await execa('node', args, {
13
stdio: 'inherit'
14
})
15
}
0 commit comments