Increase simulated clientY value

The the difference in position must be greater than
ol.pointer.MouseSource.DEDUP_DIST
This commit is contained in:
Frederic Junod
2014-03-17 12:04:07 +01:00
parent 391f81f838
commit 9a51557dec

View File

@@ -40,7 +40,7 @@ describe('ol.pointer.MouseSource', function() {
// the two events are at different positions
simulateTouchEvent('touchstart', 10, 20);
simulateEvent('mousedown', 10, 40);
simulateEvent('mousedown', 10, 50);
expect(eventSpy.calledTwice).to.be.ok();
});