teardown #571 test properly
This commit is contained in:
parent
16bad63113
commit
926ed2d692
1 changed files with 4 additions and 1 deletions
|
|
@ -3774,8 +3774,11 @@ function testMithril(mock) {
|
||||||
m.route("/b")
|
m.route("/b")
|
||||||
|
|
||||||
mock.requestAnimationFrame.$resolve()
|
mock.requestAnimationFrame.$resolve()
|
||||||
|
var result = !root.childNodes[0].childNodes[0].modified;
|
||||||
|
|
||||||
|
m.mount(root, null) //teardown
|
||||||
|
|
||||||
return !root.childNodes[0].childNodes[0].modified;
|
return result
|
||||||
});
|
});
|
||||||
//end m.route
|
//end m.route
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue