Skip to content

Commit ded0a73

Browse files
Iria Díaz PérezIria Díaz Pérez
authored andcommitted
fix: Cypress plugin stop error
1 parent e636817 commit ded0a73

File tree

1 file changed

+2
-2
lines changed
  • packages/@vue/cli-plugin-e2e-cypress

1 file changed

+2
-2
lines changed

packages/@vue/cli-plugin-e2e-cypress/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ module.exports = (api, options) => {
4646

4747
const runner = execa(cypressBinPath, cyArgs, { stdio: 'inherit' })
4848
if (server) {
49-
runner.on('exit', () => server.stop())
50-
runner.on('error', () => server.stop())
49+
runner.on('exit', () => server.close())
50+
runner.on('error', () => server.close())
5151
}
5252

5353
if (process.env.VUE_CLI_TEST) {

0 commit comments

Comments
 (0)