Skip to content

Commit 9bfda17

Browse files
committed
ci: move mainModule.filename up
1 parent 34b273a commit 9bfda17

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

test/e2e/runner.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,12 @@ function adaptArgv (argv) {
5757
// process.exit(0)
5858
}
5959

60+
process.mainModule.filename = resolve(
61+
__dirname,
62+
'../../node_modules/.bin/nightwatch'
63+
)
64+
6065
if (isLocal) {
61-
process.mainModule.filename = resolve(
62-
__dirname,
63-
'../../node_modules/.bin/nightwatch'
64-
)
6566
let bsLocal
6667
const browserstack = require('browserstack-local')
6768
Nightwatch.bs_local = bsLocal = new browserstack.Local()

0 commit comments

Comments
 (0)