File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ describe('#MapPan', function () {
79
79
setTimeout ( function ( ) {
80
80
expect ( spy . called ) . to . be . ok ( ) ;
81
81
done ( ) ;
82
- } , 10 ) ;
82
+ } , 50 ) ;
83
83
} ) ;
84
84
85
85
it ( 'change zoom or center during panning' , function ( done ) {
Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ describe('Map.Spec', function () {
17
17
center : center
18
18
} ;
19
19
map = new maptalks . Map ( container , option ) ;
20
- map . config ( 'zoomAnimationDuration' , 10 ) ;
21
- map . _getRenderer ( ) . _setCheckSizeInterval ( 10 ) ;
20
+ map . config ( 'zoomAnimationDuration' , 20 ) ;
21
+ map . _getRenderer ( ) . _setCheckSizeInterval ( 20 ) ;
22
22
baseLayer = new maptalks . VectorLayer ( 'base_' , new maptalks . Marker ( center ) ) ;
23
23
eventContainer = map . _panels . front ;
24
24
} ) ;
@@ -495,7 +495,7 @@ describe('Map.Spec', function () {
495
495
496
496
happen . dblclick ( eventContainer ) ;
497
497
} ) ;
498
-
498
+
499
499
it ( 'After dragging the map quickly and trigger moveend event,it can get the final coordinate' , function ( done ) {
500
500
map . on ( 'moveend' , function ( e ) {
501
501
expect ( e . coordinate ) . to . be . ok ( ) ;
You can’t perform that action at this time.
0 commit comments