File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -38,8 +38,8 @@ describe('$$isDocumentHidden', function() {
38
38
var spy = spyOn ( document , 'addEventListener' ) . andCallThrough ( ) ;
39
39
40
40
inject ( function ( $$isDocumentHidden , $document ) {
41
- expect ( spy . mostRecentCall ( ) . args [ 0 ] ) . toBe ( 'visibilitychange' ) ;
42
- expect ( spy . mostRecentCall ( ) . args [ 1 ] ) . toEqual ( jasmine . any ( Function ) ) ;
41
+ expect ( spy . mostRecentCall . args [ 0 ] ) . toBe ( 'visibilitychange' ) ;
42
+ expect ( spy . mostRecentCall . args [ 1 ] ) . toEqual ( jasmine . any ( Function ) ) ;
43
43
expect ( $$isDocumentHidden ( ) ) . toBeFalsy ( ) ; // undefined in browsers that don't support visibility
44
44
} ) ;
45
45
@@ -50,8 +50,8 @@ describe('$$isDocumentHidden', function() {
50
50
51
51
inject ( function ( $$isDocumentHidden , $rootScope ) {
52
52
$rootScope . $destroy ( ) ;
53
- expect ( spy . mostRecentCall ( ) . args [ 0 ] ) . toBe ( 'visibilitychange' ) ;
54
- expect ( spy . mostRecentCall ( ) . args [ 1 ] ) . toEqual ( jasmine . any ( Function ) ) ;
53
+ expect ( spy . mostRecentCall . args [ 0 ] ) . toBe ( 'visibilitychange' ) ;
54
+ expect ( spy . mostRecentCall . args [ 1 ] ) . toEqual ( jasmine . any ( Function ) ) ;
55
55
} ) ;
56
56
} ) ;
57
57
} ) ;
You can’t perform that action at this time.
0 commit comments