Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

Commit

Permalink
feat(jasmine): update jasmine dependency to 2.3.1
Browse files Browse the repository at this point in the history
Updated from 2.1.1. See Jasmine's changelog at https://github.com/jasmine/jasmine/tree/master/release_notes

Closes #1795. Closes #2094. Closes #1768.
  • Loading branch information
juliemr committed May 15, 2015
1 parent a58ded5 commit 25b1fa0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions lib/frameworks/jasmine2.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ RunnerReporter.prototype.specDone = function(result) {
duration: new Date().getTime() - this.startTime.getTime()
};

if (result.failedExpectations.length == 0) {
if (result.failedExpectations.length === 0) {
entry.assertions.push({
passed: true
});
Expand Down Expand Up @@ -93,7 +93,8 @@ exports.run = function(runner, specs) {
}

var originalOnComplete = runner.getConfig().onComplete;
jasmineNodeOpts.onComplete = function(passed) {

jrunner.onComplete(function(passed) {
try {
if (originalOnComplete) {
originalOnComplete(passed);
Expand All @@ -105,7 +106,7 @@ exports.run = function(runner, specs) {
} catch (err) {
reject(err);
}
};
});

jrunner.configureDefaultReporter(jasmineNodeOpts);
jrunner.projectBaseDir = '';
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"selenium-webdriver": "2.45.1",
"minijasminenode": "1.1.1",
"jasminewd": "1.1.0",
"jasminewd2": "0.0.4",
"jasmine": "2.1.1",
"jasminewd2": "0.0.5",
"jasmine": "2.3.1",
"saucelabs": "~0.1.0",
"glob": "~3.2",
"adm-zip": "0.4.4",
Expand Down

0 comments on commit 25b1fa0

Please sign in to comment.