Skip to content

Commit e46d3df

Browse files
author
Paul Bakaus
committed
draggable: fixed failing test, mousemove is actually called 3 times in jquery.simulate.js, so 4 is the correct value
1 parent f96e617 commit e46d3df

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/draggable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ test("callbacks occurance count", function() {
440440
drag(el, 10, 10);
441441

442442
equals(start, 1, "start callback should happen exactly once");
443-
equals(dragc, 2 + 1, "drag callback should happen exactly once per mousemove + 1");
443+
equals(dragc, 3 + 1, "drag callback should happen exactly once per mousemove + 1");
444444
equals(stop, 1, "stop callback should happen exactly once");
445445

446446
});

0 commit comments

Comments
 (0)