add teardown to test(L1457)

This commit is contained in:
zzmp 2014-09-17 14:23:26 -07:00
parent d14306a9ca
commit 7af59740f9

View file

@ -1454,6 +1454,7 @@ function testMithril(mock) {
}
})
root.childNodes[0].onclick({})
mock.requestAnimationFrame.$resolve() //teardown
return strategy == "diff" && root.childNodes[0].childNodes[0].nodeValue == "1"
})
test(function() {