File tree Expand file tree Collapse file tree 2 files changed +17
-4
lines changed
Expand file tree Collapse file tree 2 files changed +17
-4
lines changed Original file line number Diff line number Diff line change 1010 />
1111 < script src ="../node_modules/jasmine-core/lib/jasmine-core/jasmine.js "> </ script >
1212 < script src ="../node_modules/jasmine-core/lib/jasmine-core/jasmine-html.js "> </ script >
13- < script src ="../node_modules/jasmine-core/lib/jasmine-core/boot.js "> </ script >
13+ < script src ="../node_modules/jasmine-core/lib/jasmine-core/boot0.js "> </ script >
14+ < script src ="../node_modules/jasmine-core/lib/jasmine-core/boot1.js "> </ script >
1415 < script src ="../node_modules/imagediff/imagediff.js "> </ script >
1516
1617 <!-- include source files here... -->
Original file line number Diff line number Diff line change @@ -94,7 +94,11 @@ describe("XHR Proxies", function () {
9494 xhr . onload = function myOwnOnLoadHandler ( ) { } ;
9595 xhr . send ( ) ;
9696
97- finishNotifyingXhrProxy . waitForRequestsToFinish ( ) . then ( done ) ;
97+ finishNotifyingXhrProxy
98+ . waitForRequestsToFinish ( )
99+ . then ( function ( ) {
100+ done ( ) ;
101+ } ) ;
98102
99103 originalXHRInstance [ 0 ] . mockDone ( ) ;
100104
@@ -105,7 +109,11 @@ describe("XHR Proxies", function () {
105109 var finishNotifyingXhrProxy =
106110 proxies . finishNotifyingXhr ( xhrMockConstructor ) ;
107111
108- finishNotifyingXhrProxy . waitForRequestsToFinish ( ) . then ( done ) ;
112+ finishNotifyingXhrProxy
113+ . waitForRequestsToFinish ( )
114+ . then ( function ( ) {
115+ done ( ) ;
116+ } ) ;
109117 expect ( true ) . toBe ( true ) ; // work around warning from jasmine that no expectation is given
110118 } ) ;
111119
@@ -117,7 +125,11 @@ describe("XHR Proxies", function () {
117125 xhr . send ( ) ;
118126 originalXHRInstance [ 0 ] . mockDone ( ) ;
119127
120- finishNotifyingXhrProxy . waitForRequestsToFinish ( ) . then ( done ) ;
128+ finishNotifyingXhrProxy
129+ . waitForRequestsToFinish ( )
130+ . then ( function ( ) {
131+ done ( ) ;
132+ } ) ;
121133 expect ( true ) . toBe ( true ) ; // work around warning from jasmine that no expectation is given
122134 } ) ;
123135 } ) ;
You can’t perform that action at this time.
0 commit comments