Skip to content

Commit

Permalink
chore: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
billyyyyy3320 committed Dec 30, 2019
1 parent a35f5a1 commit 0e88b6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/@vuepress/test-utils/lib/createJestRunner.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const usedPorts = []

module.exports = function createJestRunner (jestArgs, rawArgs) {
return async function () {
const execArgv = getChildProcesExecArgv()
const execArgv = getChildProcessExecArgv()
const args = [...execArgv, ...jestArgs]
console.log(`running node with args: ${args.join(' ')}`)
args.unshift(...rawArgs, require.resolve('jest-cli/bin/jest'))
Expand All @@ -21,7 +21,7 @@ module.exports = function createJestRunner (jestArgs, rawArgs) {
}
}

function getChildProcesExecArgv () {
function getChildProcessExecArgv () {
const execArgv = process.execArgv.slice(0)
const inspectArgvIndex = execArgv.findIndex(argv =>
argv.includes('--inspect-brk')
Expand Down

0 comments on commit 0e88b6e

Please sign in to comment.