add teardown to test(L1457)
This commit is contained in:
parent
d14306a9ca
commit
7af59740f9
1 changed files with 1 additions and 0 deletions
|
|
@ -1454,6 +1454,7 @@ function testMithril(mock) {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
root.childNodes[0].onclick({})
|
root.childNodes[0].onclick({})
|
||||||
|
mock.requestAnimationFrame.$resolve() //teardown
|
||||||
return strategy == "diff" && root.childNodes[0].childNodes[0].nodeValue == "1"
|
return strategy == "diff" && root.childNodes[0].childNodes[0].nodeValue == "1"
|
||||||
})
|
})
|
||||||
test(function() {
|
test(function() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue