We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 732c825 commit db8751eCopy full SHA for db8751e
test/e2e/runner.js
@@ -36,8 +36,7 @@ const NW_CONFIG = isLocal
36
? resolve(__dirname, './nightwatch.browserstack.js')
37
: resolve(__dirname, './nightwatch.config.js')
38
39
-// add a configuration by default if not provided
40
+// check configuration
41
if (args.indexOf('-c') < 0) {
42
// check if multiple envs are provided. The way Nightwatch works
43
// requires to explicitely provide the conf
@@ -50,7 +49,6 @@ if (args.indexOf('-c') < 0) {
50
49
)
51
process.exit(1)
52
}
53
- args.push('-c', NW_CONFIG)
54
} else if (isLocal) {
55
const conf = args[args.indexOf('-c') + 1]
56
if (resolve('.', conf) !== NW_CONFIG) {
0 commit comments