Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit27dba1a

Browse files
authored
fix: eliminate calling deprecated function in cli-plugin-e2e-cypress and cli-plugin-e2e-nightwatch (#7158)
Co-authored-by: blzsaa <blzsaa@users.noreply.github.com>
1 parent619965b commit27dba1a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
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
construnner=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){

‎packages/@vue/cli-plugin-e2e-nightwatch/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ module.exports = (api, options) => {
8080
constnightWatchBinPath=require.resolve('nightwatch/bin/nightwatch')
8181
construnner=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){

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp