Skip a touch unit test on non-touch browsers

This commit is contained in:
Iván Sánchez Ortega 2016-04-19 12:21:01 +02:00
parent a626826974
commit 23890c5fa4

View File

@ -152,7 +152,7 @@ describe("Map.Drag", function () {
.down().moveBy(5, 0, 20).moveBy(256, 32, 200).up();
});
it("does not change the center of the map when finger is moved less than the drag threshold", function (done) {
it.skipIfNotTouch("does not change the center of the map when finger is moved less than the drag threshold", function (done) {
var container = document.createElement('div');
container.style.width = container.style.height = '600px';
container.style.top = container.style.left = 0;