This repository was archived by the owner on Jul 29, 2024. It is now read-only.
File tree 2 files changed +6
-5
lines changed
2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ RunnerReporter.prototype.specDone = function(result) {
34
34
duration : new Date ( ) . getTime ( ) - this . startTime . getTime ( )
35
35
} ;
36
36
37
- if ( result . failedExpectations . length == 0 ) {
37
+ if ( result . failedExpectations . length === 0 ) {
38
38
entry . assertions . push ( {
39
39
passed : true
40
40
} ) ;
@@ -93,7 +93,8 @@ exports.run = function(runner, specs) {
93
93
}
94
94
95
95
var originalOnComplete = runner . getConfig ( ) . onComplete ;
96
- jasmineNodeOpts . onComplete = function ( passed ) {
96
+
97
+ jrunner . onComplete ( function ( passed ) {
97
98
try {
98
99
if ( originalOnComplete ) {
99
100
originalOnComplete ( passed ) ;
@@ -105,7 +106,7 @@ exports.run = function(runner, specs) {
105
106
} catch ( err ) {
106
107
reject ( err ) ;
107
108
}
108
- } ;
109
+ } ) ;
109
110
110
111
jrunner . configureDefaultReporter ( jasmineNodeOpts ) ;
111
112
jrunner . projectBaseDir = '' ;
Original file line number Diff line number Diff line change 16
16
"selenium-webdriver" : " 2.45.1" ,
17
17
"minijasminenode" : " 1.1.1" ,
18
18
"jasminewd" : " 1.1.0" ,
19
- "jasminewd2" : " 0.0.4 " ,
20
- "jasmine" : " 2.1 .1" ,
19
+ "jasminewd2" : " 0.0.5 " ,
20
+ "jasmine" : " 2.3 .1" ,
21
21
"saucelabs" : " ~0.1.0" ,
22
22
"glob" : " ~3.2" ,
23
23
"adm-zip" : " 0.4.4" ,
You can’t perform that action at this time.
0 commit comments