parent
27b1fdabed
commit
4b340ecd75
1 changed files with 2 additions and 2 deletions
|
|
@ -13,12 +13,12 @@ o.spec("render", function() {
|
||||||
})
|
})
|
||||||
|
|
||||||
o("overwrites existing content", function() {
|
o("overwrites existing content", function() {
|
||||||
var vnodes = [{tag: "a", text: null}]
|
var vnodes = []
|
||||||
|
|
||||||
root.appendChild($window.document.createElement("div"));
|
root.appendChild($window.document.createElement("div"));
|
||||||
|
|
||||||
render(root, vnodes)
|
render(root, vnodes)
|
||||||
|
|
||||||
o(root.childNodes.length).equals(1)
|
o(root.childNodes.length).equals(0)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue