Skip to content

Commit af8a0c3

Browse files
committed
fix map pan spec
1 parent 39b2001 commit af8a0c3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/map/MapPanSpec.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,17 +41,17 @@ describe('#MapPan', function () {
4141
var coord = center.substract(1, 1);
4242
var spy = sinon.spy();
4343
var t = 100;
44-
map.panTo(coord, {
44+
map.panTo(coord, {
4545
'animation' : true,
4646
'duration': t
4747
}, spy);
4848
expect(spy.called).to.not.be.ok();
4949
setTimeout(function(){
5050
expect(spy.called).to.be.ok();
5151
done();
52-
}, 10);
52+
}, 50);
5353
});
54-
54+
5555
it('panBy without animation', function (done) {
5656
var offset = { x: 20, y: 20 };
5757
map.once('moveend', function () {

0 commit comments

Comments
 (0)