mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
draggable: fixed failing test, mousemove is actually called 3 times in jquery.simulate.js, so 4 is the correct value
This commit is contained in:
parent
f96e61789e
commit
e46d3df57c
@ -440,7 +440,7 @@ test("callbacks occurance count", function() {
|
||||
drag(el, 10, 10);
|
||||
|
||||
equals(start, 1, "start callback should happen exactly once");
|
||||
equals(dragc, 2 + 1, "drag callback should happen exactly once per mousemove + 1");
|
||||
equals(dragc, 3 + 1, "drag callback should happen exactly once per mousemove + 1");
|
||||
equals(stop, 1, "stop callback should happen exactly once");
|
||||
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user