aboutsummaryrefslogtreecommitdiff
path: root/src/test/kotlin
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2019-10-13 17:04:42 +0200
committerRobert Jaros <rjaros@finn.pl>2019-10-13 17:04:42 +0200
commit780c340a481676e27398dccf4503e8f0b9c63060 (patch)
tree65efeec54d3b4d4e420c5882db38814e40eb3940 /src/test/kotlin
parente84227897eac9d90e79c5ba5ae775eac1085ea64 (diff)
downloadkvision-780c340a481676e27398dccf4503e8f0b9c63060.tar.gz
kvision-780c340a481676e27398dccf4503e8f0b9c63060.tar.bz2
kvision-780c340a481676e27398dccf4503e8f0b9c63060.zip
New Application class to reduce applications boilerplate (#92).
New testutils module.
Diffstat (limited to 'src/test/kotlin')
-rw-r--r--src/test/kotlin/test/pl/treksoft/kvision/TestUtil.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/kotlin/test/pl/treksoft/kvision/TestUtil.kt b/src/test/kotlin/test/pl/treksoft/kvision/TestUtil.kt
index 13c8531b..9da4dfb4 100644
--- a/src/test/kotlin/test/pl/treksoft/kvision/TestUtil.kt
+++ b/src/test/kotlin/test/pl/treksoft/kvision/TestUtil.kt
@@ -63,7 +63,7 @@ interface DomSpec : TestSpec {
val div = document.getElementById("pretest")
div?.let { jQuery(it).remove() }
jQuery(".modal-backdrop").remove()
- Root.shutdown()
+ Root.disposeAllRoots()
}
fun assertEqualsHtml(expected: String?, actual: String?, message: String?) {