File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -152,7 +152,9 @@ describe('StackTrace', function () {
152152 runs ( function ( ) {
153153 expect ( errback ) . not . toHaveBeenCalled ( ) ;
154154 expect ( callback ) . toHaveBeenCalled ( ) ;
155- expect ( callback . mostRecentCall . args [ 0 ] [ 0 ] . fileName ) . toMatch ( 'stacktrace-spec.js' ) ;
155+ if ( callback . mostRecentCall . args [ 0 ] [ 0 ] . fileName ) { // Work around IE9-
156+ expect ( callback . mostRecentCall . args [ 0 ] [ 0 ] . fileName ) . toMatch ( 'stacktrace-spec.js' ) ;
157+ }
156158 } ) ;
157159 } ) ;
158160
@@ -168,7 +170,9 @@ describe('StackTrace', function () {
168170 runs ( function ( ) {
169171 expect ( errback ) . not . toHaveBeenCalled ( ) ;
170172 expect ( callback ) . toHaveBeenCalled ( ) ;
171- expect ( callback . mostRecentCall . args [ 0 ] [ 0 ] . fileName ) . toMatch ( 'stacktrace-spec.js' ) ;
173+ if ( callback . mostRecentCall . args [ 0 ] [ 0 ] . fileName ) { // Work around IE9-
174+ expect ( callback . mostRecentCall . args [ 0 ] [ 0 ] . fileName ) . toMatch ( 'stacktrace-spec.js' ) ;
175+ }
172176 } ) ;
173177 } ) ;
174178
You can’t perform that action at this time.
0 commit comments