This commit is contained in:
Leo Horie 2014-04-06 15:27:37 -04:00
parent fcf77dfa44
commit 751cc683dd

View file

@ -138,7 +138,7 @@ function testMithril(mock) {
test(function() {
var root = mock.document.createElement("div")
m.render(root, m("ul", [m("li", [m("a")])]))
m.render(root, m("ul", [{fromCache: true}]))
m.render(root, m("ul", [{subtree: "retain"}]))
return root.childNodes[0].childNodes[0].childNodes[0].nodeName === "A"
})