@@ -119,7 +119,7 @@ describe('rc-queue-anim', () => {
119
119
done ( ) ;
120
120
} , interval ) ;
121
121
} , interval ) ;
122
- } , 10 ) ;
122
+ } , 17 ) ;
123
123
} ) ;
124
124
125
125
it ( 'should have interval' , ( done ) => {
@@ -138,7 +138,7 @@ describe('rc-queue-anim', () => {
138
138
done ( ) ;
139
139
} , interval ) ;
140
140
} , interval ) ;
141
- } , 10 ) ;
141
+ } , 17 ) ;
142
142
} ) ;
143
143
144
144
it ( 'should have delay' , ( done ) => {
@@ -158,7 +158,7 @@ describe('rc-queue-anim', () => {
158
158
} , interval ) ;
159
159
} , interval ) ;
160
160
} , delay ) ;
161
- } , 10 ) ;
161
+ } , 17 ) ;
162
162
} ) ;
163
163
164
164
it ( 'should have duration' , ( done ) => {
@@ -175,7 +175,7 @@ describe('rc-queue-anim', () => {
175
175
expect ( getOpacity ( children [ 1 ] ) ) . to . be ( 1 ) ;
176
176
done ( ) ;
177
177
} , duration ) ;
178
- } , 10 ) ;
178
+ } , 17 ) ;
179
179
} ) ;
180
180
181
181
it ( 'should have leave animation' , ( done ) => {
@@ -194,7 +194,7 @@ describe('rc-queue-anim', () => {
194
194
expect ( TestUtils . scryRenderedDOMComponentsWithTag ( instance , 'div' ) . length ) . to . be ( 3 ) ;
195
195
done ( ) ;
196
196
} , 500 ) ;
197
- } , 10 ) ;
197
+ } , 17 ) ;
198
198
} , interval * 3 + 500 ) ;
199
199
} ) ;
200
200
@@ -211,7 +211,7 @@ describe('rc-queue-anim', () => {
211
211
children = TestUtils . scryRenderedDOMComponentsWithTag ( instance , 'div' ) ;
212
212
expect ( getLeft ( children [ 1 ] ) ) . to . above ( 0 ) ;
213
213
done ( ) ;
214
- } , 10 ) ;
214
+ } , 17 ) ;
215
215
} ) ;
216
216
217
217
it ( 'should support animation when change direction at animating' , ( done ) => {
@@ -261,7 +261,7 @@ describe('rc-queue-anim', () => {
261
261
done ( ) ;
262
262
} , 550 ) ;
263
263
} , 550 ) ;
264
- } , 5 ) ;
264
+ } , 17 ) ;
265
265
} ) ;
266
266
267
267
it ( 'should has animating config is func enter' , ( done ) => {
@@ -301,7 +301,7 @@ describe('rc-queue-anim', () => {
301
301
expect ( isNaN ( getTop ( children [ 1 ] ) ) ) . to . be . ok ( ) ;
302
302
console . log ( 'left_end:' , getLeft ( children [ 1 ] ) ) ;
303
303
} , 500 ) ;
304
- } , 10 ) ;
304
+ } , 17 ) ;
305
305
} ) ;
306
306
307
307
it ( 'should has animating config is func leave' , ( done ) => {
@@ -340,7 +340,7 @@ describe('rc-queue-anim', () => {
340
340
done ( ) ;
341
341
} , 500 ) ;
342
342
} , 110 ) ;
343
- } , 10 ) ;
343
+ } , 17 ) ;
344
344
} , 1000 ) ;
345
345
} ) ;
346
346
} ) ;
0 commit comments