Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fixed router/e2e/runner function name spell mistake #1579

Merged
merged 1 commit into from Oct 14, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions packages/router/e2e/runner.js
Expand Up @@ -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()
Expand All @@ -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) {
Expand All @@ -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)
Expand Down