We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
--inspect-brk
1 parent 75c398f commit 16d2701Copy full SHA for 16d2701
packages/@vue/cli-plugin-unit-mocha/index.js
@@ -41,7 +41,7 @@ module.exports = api => {
41
42
const inspectPos = rawArgv.findIndex(arg => arg.startsWith('--inspect-brk'))
43
if (inspectPos !== -1) {
44
- nodeArgs = rawArgv.splice(inspectPos, inspectPos + 1)
+ nodeArgs = rawArgv.splice(inspectPos, 1)
45
}
46
// for @vue/babel-preset-app <= v4.0.0-rc.7
47
process.env.VUE_CLI_BABEL_TARGET_NODE = true
0 commit comments