Fix render tests for Browsers

This commit is contained in:
Pierre-Yves Gerardy 2017-04-03 23:52:18 +02:00
parent 1ebb613e10
commit 45afd4117a
2 changed files with 2 additions and 3 deletions

View file

@ -199,9 +199,8 @@ o.spec("onbeforeremove", function() {
render(root, [{tag: component}])
render(root, [])
o(onremove.callCount).equals(0)
callAsync(function(){
o(onremove.callCount).equals(0)
callAsync(function() {
o(onremove.callCount).equals(1)
done()