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 f83f31a commit a76bde1Copy full SHA for a76bde1
packages/@vue/cli-shared-utils/lib/exit.js
@@ -1,4 +1,4 @@
1
-exports.exitProcess = !process.env.VUE_CLI_API_MODE
+exports.exitProcess = !process.env.VUE_CLI_API_MODE && !process.env.VUE_CLI_TEST
2
3
exports.exit = function (code) {
4
if (exports.exitProcess) {
packages/@vue/cli/lib/create.js
@@ -74,6 +74,8 @@ module.exports = (...args) => {
74
return create(...args).catch(err => {
75
stopSpinner(false) // do not persist
76
error(err)
77
- process.exit(1)
+ if (!process.env.VUE_CLI_TEST) {
78
+ process.exit(1)
79
+ }
80
})
81
}
0 commit comments