Skip to content

Commit dab08ae

Browse files
callmegaga王影
andauthored
chore: fixed router/e2e/runner function name spell mistake (#1579)
Co-authored-by: 王影 <[email protected]>
1 parent 3a939c9 commit dab08ae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/router/e2e/runner.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ BROWSERSTACK_ACCESS_KEY is not set. Did you create the .env file?
4545
if (error) throw error
4646

4747
console.log('Connected. Now testing...')
48-
await runNighwatchCli().finally(() => {
48+
await runNightwatchCli().finally(() => {
4949
// Code to stop browserstack local after end of single test
5050
bs_local.stop(() => {
5151
server?.close()
@@ -54,7 +54,7 @@ BROWSERSTACK_ACCESS_KEY is not set. Did you create the .env file?
5454
}
5555
)
5656
} else {
57-
await runNighwatchCli()
57+
await runNightwatchCli()
5858
server?.close()
5959
}
6060
} catch (ex) {
@@ -65,7 +65,7 @@ BROWSERSTACK_ACCESS_KEY is not set. Did you create the .env file?
6565
}
6666
})()
6767

68-
function runNighwatchCli() {
68+
function runNightwatchCli() {
6969
return new Promise((resolve, reject) => {
7070
Nightwatch.cli(argv => {
7171
Nightwatch.CliRunner(argv).setup().runTests().then(resolve).catch(reject)

0 commit comments

Comments
 (0)