diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/test/kotlin/test/pl/treksoft/kvision/KVManagerSpec.kt | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/test/kotlin/test/pl/treksoft/kvision/KVManagerSpec.kt b/src/test/kotlin/test/pl/treksoft/kvision/KVManagerSpec.kt index 08ca430f..1eca5f5e 100644 --- a/src/test/kotlin/test/pl/treksoft/kvision/KVManagerSpec.kt +++ b/src/test/kotlin/test/pl/treksoft/kvision/KVManagerSpec.kt @@ -40,7 +40,6 @@ class KVManagerSpec : DomSpec { style = snStyle(listOf("fontWeight" to "bold", "fontStyle" to "italic")) }) KVManager.patch("test", vnode) - assertTrue("Original child should not exist") { document.getElementById("test") == null } assertTrue("New child should exist") { document.getElementById("test_new") != null } } } @@ -58,8 +57,6 @@ class KVManagerSpec : DomSpec { style = snStyle(listOf("fontWeight" to "bold", "fontStyle" to "italic")) }) KVManager.patch(vnode2, vnode3) - assertTrue("First child should not exist") { document.getElementById("test") == null } - assertTrue("Second child should not exist") { document.getElementById("test2") == null } assertTrue("Third child should exist") { document.getElementById("test3") != null } } } @@ -69,7 +66,6 @@ class KVManagerSpec : DomSpec { run { val node = KVManager.virtualize("<div id=\"virtual\"><p>Virtual node</p></div>") KVManager.patch("test", node) - assertTrue("Original child should not exist") { document.getElementById("test") == null } val v = document.getElementById("virtual") assertTrue("New child should exist") { v != null } assertTrue("New child should have one child") { v?.children?.length == 1 } |