Test Measure: Correct the text of expected result.
This commit is contained in:
@@ -289,12 +289,12 @@
|
|||||||
// move 10 pixels
|
// move 10 pixels
|
||||||
trigger("mousemove", 0, 10);
|
trigger("mousemove", 0, 10);
|
||||||
|
|
||||||
t.eq(log.length, 1, "a) no event fired yet");
|
t.eq(log.length, 1, "a) has fired an event");
|
||||||
|
|
||||||
t.delay_call(
|
t.delay_call(
|
||||||
delay, function() {
|
delay, function() {
|
||||||
// confirm measurepartial is fired
|
// confirm measurepartial is fired
|
||||||
t.eq(log.length, 1, "a) event logged");
|
t.eq(log.length, 1, "a) one event logged");
|
||||||
t.ok(log[0] && log[0].type == "measurepartial", "a) correct type");
|
t.ok(log[0] && log[0].type == "measurepartial", "a) correct type");
|
||||||
// mousemove within the partialDelay fires no event, so the
|
// mousemove within the partialDelay fires no event, so the
|
||||||
// measure below is the one of the initial point
|
// measure below is the one of the initial point
|
||||||
|
|||||||
Reference in New Issue
Block a user