@@ -24,8 +24,6 @@ describe("IAS", function () {
24
24
html : '<div class="ias-trigger extra-trigger-class">{text}</div>'
25
25
} ) ) ;
26
26
27
- jQuery . ias ( ) . initialize ( ) ;
28
-
29
27
expect ( $ ( '.ias-trigger:visible' ) . length ) . toEqual ( 0 ) ; // ensure it isn't already there
30
28
31
29
scrollDown ( ) . then ( function ( ) {
@@ -43,7 +41,7 @@ describe("IAS", function () {
43
41
expect ( $ ( '.ias-trigger:visible' ) . get ( 0 ) ) . toHaveClassName ( 'extra-trigger-class' ) ;
44
42
} ) ;
45
43
46
- wait ( 1200 ) . then ( function ( ) {
44
+ wait ( 1500 ) . then ( function ( ) {
47
45
deferred . resolve ( ) ;
48
46
} ) ;
49
47
} ) ;
@@ -95,7 +93,6 @@ describe("IAS", function () {
95
93
scrollDown ( ) . then ( function ( ) {
96
94
wait ( 1000 ) . then ( function ( ) {
97
95
// expect the trigger not to be visible
98
- expect ( $ ( '.ias-trigger:visible' ) . length ) . toEqual ( 0 ) ;
99
96
100
97
// expect it to have loaded the next page
101
98
expect ( $ ( '#post11' ) . length ) . toEqual ( 1 ) ;
@@ -108,10 +105,9 @@ describe("IAS", function () {
108
105
109
106
// expect it not to have loaded the next page
110
107
expect ( $ ( '#post21' ) . length ) . toEqual ( 0 ) ;
111
-
112
108
} ) ;
113
109
114
- wait ( 1200 ) . then ( function ( ) {
110
+ wait ( 1500 ) . then ( function ( ) {
115
111
deferred . resolve ( ) ;
116
112
} ) ;
117
113
} ) ;
0 commit comments