Tests use hyperscript instead of manually constructing nodes

This commit is contained in:
Barney Carroll 2021-04-14 17:05:49 +01:00 committed by Stephan Hoyer
parent 31d2ed4be8
commit 38e2184c6d

View file

@ -1308,7 +1308,7 @@ o.spec("route", function() {
}), }),
render: lock(function() { render: lock(function() {
renderCount++ renderCount++
return {tag: Component} return m(Component)
}), }),
}, },
}) })