aboutsummaryrefslogtreecommitdiff
path: root/kvision-modules/kvision-chart/src/test
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@users.noreply.github.com>2019-05-07 13:18:42 +0200
committerGitHub <noreply@github.com>2019-05-07 13:18:42 +0200
commit3b898f573950c09bc20ef26c8109157295f4e6ec (patch)
tree100087c8db8e89f4b5de2bbdb976fc576ae5c98b /kvision-modules/kvision-chart/src/test
parent736b9e0ab17a2ce655f534659a84a18a37daa87a (diff)
parent63767fec9660bdcbfd041ec28fb76ba95b322f2a (diff)
downloadkvision-3b898f573950c09bc20ef26c8109157295f4e6ec.tar.gz
kvision-3b898f573950c09bc20ef26c8109157295f4e6ec.tar.bz2
kvision-3b898f573950c09bc20ef26c8109157295f4e6ec.zip
Merge pull request #38 from robert-cronin/master
Fix namespace issue
Diffstat (limited to 'kvision-modules/kvision-chart/src/test')
-rw-r--r--kvision-modules/kvision-chart/src/test/kotlin/test/pl/treksoft/kvision/chart/ChartCanvasSpec.kt4
-rw-r--r--kvision-modules/kvision-chart/src/test/kotlin/test/pl/treksoft/kvision/chart/ChartSpec.kt4
2 files changed, 4 insertions, 4 deletions
diff --git a/kvision-modules/kvision-chart/src/test/kotlin/test/pl/treksoft/kvision/chart/ChartCanvasSpec.kt b/kvision-modules/kvision-chart/src/test/kotlin/test/pl/treksoft/kvision/chart/ChartCanvasSpec.kt
index 9ea2ee6e..6fae54ad 100644
--- a/kvision-modules/kvision-chart/src/test/kotlin/test/pl/treksoft/kvision/chart/ChartCanvasSpec.kt
+++ b/kvision-modules/kvision-chart/src/test/kotlin/test/pl/treksoft/kvision/chart/ChartCanvasSpec.kt
@@ -25,7 +25,7 @@ import pl.treksoft.kvision.chart.ChartCanvas
import pl.treksoft.kvision.chart.ChartType
import pl.treksoft.kvision.chart.Configuration
import pl.treksoft.kvision.chart.DataSets
-import pl.treksoft.kvision.chart.Options
+import pl.treksoft.kvision.chart.ChartOptions
import pl.treksoft.kvision.panel.Root
import test.pl.treksoft.kvision.DomSpec
import kotlin.browser.document
@@ -62,7 +62,7 @@ class ChartCanvasSpec : DomSpec {
configuration = Configuration(
ChartType.SCATTER,
listOf(DataSets(label = "Chart", data = listOf(0, 1))),
- options = Options(responsive = false)
+ options = ChartOptions(responsive = false)
)
)
root.add(chart)
diff --git a/kvision-modules/kvision-chart/src/test/kotlin/test/pl/treksoft/kvision/chart/ChartSpec.kt b/kvision-modules/kvision-chart/src/test/kotlin/test/pl/treksoft/kvision/chart/ChartSpec.kt
index 2e508107..7974ea78 100644
--- a/kvision-modules/kvision-chart/src/test/kotlin/test/pl/treksoft/kvision/chart/ChartSpec.kt
+++ b/kvision-modules/kvision-chart/src/test/kotlin/test/pl/treksoft/kvision/chart/ChartSpec.kt
@@ -25,7 +25,7 @@ import pl.treksoft.kvision.chart.Chart
import pl.treksoft.kvision.chart.ChartType
import pl.treksoft.kvision.chart.Configuration
import pl.treksoft.kvision.chart.DataSets
-import pl.treksoft.kvision.chart.Options
+import pl.treksoft.kvision.chart.ChartOptions
import pl.treksoft.kvision.panel.Root
import pl.treksoft.kvision.utils.px
import test.pl.treksoft.kvision.DomSpec
@@ -65,7 +65,7 @@ class ChartSpec : DomSpec {
Configuration(
ChartType.SCATTER,
listOf(DataSets(label = "Chart", data = listOf(0, 1))),
- options = Options(responsive = false)
+ options = ChartOptions(responsive = false)
), 300, 600
)
root.add(chart)