Skip to content

Commit db8751e

Browse files
committed
chore(test): remove useless code and comments
1 parent 732c825 commit db8751e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/e2e/runner.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ const NW_CONFIG = isLocal
3636
? resolve(__dirname, './nightwatch.browserstack.js')
3737
: resolve(__dirname, './nightwatch.config.js')
3838

39-
// add a configuration by default if not provided
40-
// add a configuration by default if not provided
39+
// check configuration
4140
if (args.indexOf('-c') < 0) {
4241
// check if multiple envs are provided. The way Nightwatch works
4342
// requires to explicitely provide the conf
@@ -50,7 +49,6 @@ if (args.indexOf('-c') < 0) {
5049
)
5150
process.exit(1)
5251
}
53-
args.push('-c', NW_CONFIG)
5452
} else if (isLocal) {
5553
const conf = args[args.indexOf('-c') + 1]
5654
if (resolve('.', conf) !== NW_CONFIG) {

0 commit comments

Comments
 (0)