teardown #571 test properly

This commit is contained in:
Leo Horie 2015-04-21 20:55:23 -04:00
parent 16bad63113
commit 926ed2d692

View file

@ -3774,8 +3774,11 @@ function testMithril(mock) {
m.route("/b")
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