Merge remote-tracking branch 'origin/next' into components
This commit is contained in:
commit
1586d8aaa1
2 changed files with 7 additions and 1 deletions
|
|
@ -1681,6 +1681,12 @@ function testMithril(mock) {
|
|||
m.render(root, m("div", function() {}))
|
||||
return root.childNodes[0].childNodes.length == 0
|
||||
})
|
||||
test(function() {
|
||||
var root = mock.document.createElement("div")
|
||||
m.render(root, m("div", "foo", m("a")))
|
||||
m.render(root, m("div", "test"))
|
||||
return root.childNodes[0].childNodes.length == 1
|
||||
})
|
||||
//end m.render
|
||||
|
||||
//m.redraw
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue