aboutsummaryrefslogtreecommitdiff
path: root/kvision-modules/kvision-react
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2020-06-07 23:17:31 +0200
committerRobert Jaros <rjaros@finn.pl>2020-06-07 23:17:31 +0200
commitc2716ef0aae16553655cab4ea24f685e49e5fee8 (patch)
tree0a3fc4a4603e0cfa1faea3a3ca9d6673b4b9cbb0 /kvision-modules/kvision-react
parent353815977be03d462393c57b829f2264aa9be85d (diff)
downloadkvision-c2716ef0aae16553655cab4ea24f685e49e5fee8.tar.gz
kvision-c2716ef0aae16553655cab4ea24f685e49e5fee8.tar.bz2
kvision-c2716ef0aae16553655cab4ea24f685e49e5fee8.zip
OnsenUI carousel component. Basic tests for OnsenUI module (#126)HEADmaster
Diffstat (limited to 'kvision-modules/kvision-react')
-rw-r--r--kvision-modules/kvision-react/src/test/kotlin/test/pl/treksoft/kvision/react/ReactSpec.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/kvision-modules/kvision-react/src/test/kotlin/test/pl/treksoft/kvision/react/ReactSpec.kt b/kvision-modules/kvision-react/src/test/kotlin/test/pl/treksoft/kvision/react/ReactSpec.kt
index ccabc721..97000ad2 100644
--- a/kvision-modules/kvision-react/src/test/kotlin/test/pl/treksoft/kvision/react/ReactSpec.kt
+++ b/kvision-modules/kvision-react/src/test/kotlin/test/pl/treksoft/kvision/react/ReactSpec.kt
@@ -23,6 +23,7 @@ package test.pl.treksoft.kvision.react
import kotlinx.html.js.onChangeFunction
import org.w3c.dom.HTMLInputElement
+import pl.treksoft.kvision.panel.ContainerType
import pl.treksoft.kvision.panel.Root
import pl.treksoft.kvision.react.react
import react.dom.input
@@ -35,7 +36,7 @@ class ReactSpec : DomSpec {
@Test
fun react() {
run {
- val root = Root("test", containerType = pl.treksoft.kvision.panel.ContainerType.FIXED)
+ val root = Root("test", containerType = ContainerType.FIXED)
val react = root.react("initial") { getState, changeState ->
input {
attrs {