From c2716ef0aae16553655cab4ea24f685e49e5fee8 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sun, 7 Jun 2020 23:17:31 +0200 Subject: OnsenUI carousel component. Basic tests for OnsenUI module (#126) --- .../src/test/kotlin/test/pl/treksoft/kvision/react/ReactSpec.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'kvision-modules/kvision-react/src') 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 { -- cgit