We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6acf347 commit 8aeeea2Copy full SHA for 8aeeea2
test/e2e/runner.js
@@ -39,7 +39,6 @@ const NW_CONFIG = isLocal
39
// add a configuration by default if not provided
40
41
if (args.indexOf('-c') < 0) {
42
- args.push('-c', NW_CONFIG)
43
// check if multiple envs are provided. The way Nightwatch works
44
// requires to explicitely provide the conf
45
const envs = args[args.indexOf('-e') + 1]
@@ -51,6 +50,7 @@ if (args.indexOf('-c') < 0) {
51
50
)
52
process.exit(1)
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