Skip to content

Commit

Permalink
fix(jasmine): Pass control flow to Jasminewd.
Browse files Browse the repository at this point in the history
  • Loading branch information
heathkit committed Sep 1, 2016
1 parent f23d027 commit 92b2a7f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/frameworks/jasmine.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
var q = require('q');
var webdriver = require('selenium-webdriver');

var RunnerReporter = function(emitter) {
this.emitter = emitter;
Expand Down Expand Up @@ -62,7 +63,7 @@ exports.run = function(runner, specs) {
var jrunner = new JasmineRunner();
/* global jasmine */

require('jasminewd2');
require('jasminewd2').init(webdriver.promise.controlFlow());

var jasmineNodeOpts = runner.getConfig().jasmineNodeOpts;

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"chalk": "^1.1.3",
"glob": "^7.0.3",
"jasmine": "2.4.1",
"jasminewd2": "0.0.9",
"jasminewd2": "0.0.10",
"optimist": "~0.6.0",
"q": "1.4.1",
"saucelabs": "~1.3.0",
Expand Down

0 comments on commit 92b2a7f

Please sign in to comment.