Skip to content

Commit 1c5cedd

Browse files
authored
Update world.js
1 parent 181401a commit 1c5cedd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

runtime/world.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ var fs = require('fs-plus'),
1818
assert = require("chai").assert,
1919
reporter = require('cucumber-html-reporter'),
2020
cucumberJunit = require('cucumber-junit');
21-
22-
global.DEFAULT_TIMEOUT = 10 * 1000; // 10 second default
23-
21+
if(!global.DEFAULT_TIMEOUT){
22+
global.DEFAULT_TIMEOUT = 10 * 1000; // 10 second default
23+
}
2424
/**
2525
* create the selenium browser based on global var set in index.js
2626
*/
@@ -205,4 +205,4 @@ module.exports = function () {
205205
});
206206
}
207207
});
208-
};
208+
};

0 commit comments

Comments
 (0)