fix test
This commit is contained in:
parent
fcf77dfa44
commit
751cc683dd
1 changed files with 1 additions and 1 deletions
|
|
@ -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"
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue