Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
beatfactor committed Aug 19, 2014
1 parent e43d430 commit 801b7fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/_clirunner.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,8 @@ CliRunner.prototype = {
*/
startSelenium : function(callback) {
callback = callback || function() {};
var beforeGlobal = this.test_settings.globals && this.test_settings.globals.before || function(done) {done();};
var beforeGlobal = this.test_settings && this.test_settings.globals &&
this.test_settings.globals.before || function(done) {done();};

if (!this.manageSelenium) {
beforeGlobal(function() {
Expand Down

0 comments on commit 801b7fb

Please sign in to comment.