aboutsummaryrefslogtreecommitdiff
path: root/src/test/kotlin
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2018-03-04 23:49:05 +0100
committerRobert Jaros <rjaros@finn.pl>2018-03-04 23:49:05 +0100
commitd2b955c9d976e0dca830de9063a78b559a2acac7 (patch)
tree9189d46347b7ad517690366eb20c72afa3bf0e54 /src/test/kotlin
parent0dfc89efeec2d163ad7db93ab2787e498205d257 (diff)
downloadkvision-d2b955c9d976e0dca830de9063a78b559a2acac7.tar.gz
kvision-d2b955c9d976e0dca830de9063a78b559a2acac7.tar.bz2
kvision-d2b955c9d976e0dca830de9063a78b559a2acac7.zip
Fix incorrect test dependencies.
Diffstat (limited to 'src/test/kotlin')
-rw-r--r--src/test/kotlin/test/pl/treksoft/kvision/KVManagerSpec.kt4
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 }