Add a test to ensure that e.redraw is cleared if it was false

This commit is contained in:
Pierre-Yves Gérardy 2017-07-06 19:48:24 +02:00
parent f7c4284ffc
commit 67b11f156a
2 changed files with 4 additions and 3 deletions

View file

@ -224,9 +224,11 @@ o.spec("route", function() {
}
})
o(oninit.callCount).equals(1)
root.firstChild.dispatchEvent(e)
o(oninit.callCount).equals(1)
o(e.redraw).notEquals(false)
// Wrapped to ensure no redraw fired
callAsync(function() {