]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
chore: fixed router/e2e/runner function name spell mistake (#1579)
author奇变偶不变 <moon3sky@gmail.com>
Fri, 14 Oct 2022 12:18:51 +0000 (20:18 +0800)
committerGitHub <noreply@github.com>
Fri, 14 Oct 2022 12:18:51 +0000 (14:18 +0200)
Co-authored-by: 王影 <wangying@everhigh.com.cn>
packages/router/e2e/runner.js

index 1d454dddfd7047e6076749ba731e8c4f54c4a0c8..9f64eba2d9a3c25579fec3ca807a1b1ab7ca907e 100644 (file)
@@ -45,7 +45,7 @@ BROWSERSTACK_ACCESS_KEY is not set. Did you create the .env file?
           if (error) throw error
 
           console.log('Connected. Now testing...')
-          await runNighwatchCli().finally(() => {
+          await runNightwatchCli().finally(() => {
             // Code to stop browserstack local after end of single test
             bs_local.stop(() => {
               server?.close()
@@ -54,7 +54,7 @@ BROWSERSTACK_ACCESS_KEY is not set. Did you create the .env file?
         }
       )
     } else {
-      await runNighwatchCli()
+      await runNightwatchCli()
       server?.close()
     }
   } catch (ex) {
@@ -65,7 +65,7 @@ BROWSERSTACK_ACCESS_KEY is not set. Did you create the .env file?
   }
 })()
 
-function runNighwatchCli() {
+function runNightwatchCli() {
   return new Promise((resolve, reject) => {
     Nightwatch.cli(argv => {
       Nightwatch.CliRunner(argv).setup().runTests().then(resolve).catch(reject)