File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
cli-plugin-e2e-nightwatch Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff 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 . close ( ) )
50- runner . on ( 'error' , ( ) => server . close ( ) )
49+ runner . on ( 'exit' , ( ) => server . stop ( ) )
50+ runner . on ( 'error' , ( ) => server . stop ( ) )
5151 }
5252
5353 if ( process . env . VUE_CLI_TEST ) {
Original file line number Diff line number Diff line change @@ -80,8 +80,8 @@ module.exports = (api, options) => {
8080 const nightWatchBinPath = require . resolve ( 'nightwatch/bin/nightwatch' )
8181 const runner = execa ( nightWatchBinPath , rawArgs , { stdio : 'inherit' } )
8282 if ( server ) {
83- runner . on ( 'exit' , ( ) => server . close ( ) )
84- runner . on ( 'error' , ( ) => server . close ( ) )
83+ runner . on ( 'exit' , ( ) => server . stop ( ) )
84+ runner . on ( 'error' , ( ) => server . stop ( ) )
8585 }
8686
8787 if ( process . env . VUE_CLI_TEST ) {
You can’t perform that action at this time.
0 commit comments