Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions packages/router/e2e/runner.js
Original file line number Diff line number Diff line change
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