diff --git a/test/unit/specs/Bar.spec.js b/test/unit/specs/Bar.spec.js
index b76f108..715d91e 100644
--- a/test/unit/specs/Bar.spec.js
+++ b/test/unit/specs/Bar.spec.js
@@ -10,7 +10,11 @@ describe('BarChart', () => {
it('should render a canvas', () => {
const vm = new Vue({
- template: '',
+ render: function (createElement) {
+ return createElement(
+ BarChart
+ )
+ },
components: { BarChart }
}).$mount(el)
@@ -22,7 +26,15 @@ describe('BarChart', () => {
it('should change id based on prop', () => {
const vm = new Vue({
- template: '',
+ render: function (createElement) {
+ return createElement(
+ BarChart, {
+ props: {
+ chartId: 'barchartprop'
+ }
+ }
+ )
+ },
components: { BarChart }
}).$mount(el)
diff --git a/test/unit/specs/Bubble.spec.js b/test/unit/specs/Bubble.spec.js
index 22b9f8a..749fc89 100644
--- a/test/unit/specs/Bubble.spec.js
+++ b/test/unit/specs/Bubble.spec.js
@@ -10,7 +10,11 @@ describe('BubbleChart', () => {
it('should render a canvas', () => {
const vm = new Vue({
- template: '',
+ render: function (createElement) {
+ return createElement(
+ BubbleChart
+ )
+ },
components: { BubbleChart }
}).$mount(el)
@@ -22,7 +26,15 @@ describe('BubbleChart', () => {
it('should change id based on prop', () => {
const vm = new Vue({
- template: '',
+ render: function (createElement) {
+ return createElement(
+ BubbleChart, {
+ props: {
+ chartId: 'bubblechartprop'
+ }
+ }
+ )
+ },
components: { BubbleChart }
}).$mount(el)
diff --git a/test/unit/specs/Doughnut.spec.js b/test/unit/specs/Doughnut.spec.js
index 6da7071..37931a8 100644
--- a/test/unit/specs/Doughnut.spec.js
+++ b/test/unit/specs/Doughnut.spec.js
@@ -10,7 +10,11 @@ describe('DoughnutChart', () => {
it('should render a canvas', () => {
const vm = new Vue({
- template: '',
+ render: function (createElement) {
+ return createElement(
+ DoughnutChart
+ )
+ },
components: { DoughnutChart }
}).$mount(el)
@@ -22,7 +26,15 @@ describe('DoughnutChart', () => {
it('should change id based on prop', () => {
const vm = new Vue({
- template: '',
+ render: function (createElement) {
+ return createElement(
+ DoughnutChart, {
+ props: {
+ chartId: 'doughnutchartprop'
+ }
+ }
+ )
+ },
components: { DoughnutChart }
}).$mount(el)
diff --git a/test/unit/specs/Line.spec.js b/test/unit/specs/Line.spec.js
index ce99cdf..a4edb28 100644
--- a/test/unit/specs/Line.spec.js
+++ b/test/unit/specs/Line.spec.js
@@ -10,7 +10,11 @@ describe('LineChart', () => {
it('should render a canvas', () => {
const vm = new Vue({
- template: '',
+ render: function (createElement) {
+ return createElement(
+ LineChart
+ )
+ },
components: { LineChart }
}).$mount(el)
@@ -22,7 +26,15 @@ describe('LineChart', () => {
it('should change id based on prop', () => {
const vm = new Vue({
- template: '',
+ render: function (createElement) {
+ return createElement(
+ LineChart, {
+ props: {
+ chartId: 'linechartprop'
+ }
+ }
+ )
+ },
components: { LineChart }
}).$mount(el)
diff --git a/test/unit/specs/Pie.spec.js b/test/unit/specs/Pie.spec.js
index 097fad4..3707cbc 100644
--- a/test/unit/specs/Pie.spec.js
+++ b/test/unit/specs/Pie.spec.js
@@ -10,7 +10,11 @@ describe('PieChart', () => {
it('should render a canvas', () => {
const vm = new Vue({
- template: '',
+ render: function (createElement) {
+ return createElement(
+ PieChart
+ )
+ },
components: { PieChart }
}).$mount(el)
@@ -22,7 +26,15 @@ describe('PieChart', () => {
it('should change id based on prop', () => {
const vm = new Vue({
- template: '',
+ render: function (createElement) {
+ return createElement(
+ PieChart, {
+ props: {
+ chartId: 'piechartprop'
+ }
+ }
+ )
+ },
components: { PieChart }
}).$mount(el)
diff --git a/test/unit/specs/PolarArea.spec.js b/test/unit/specs/PolarArea.spec.js
index 921c5a9..b2e563d 100644
--- a/test/unit/specs/PolarArea.spec.js
+++ b/test/unit/specs/PolarArea.spec.js
@@ -10,7 +10,11 @@ describe('PolarChart', () => {
it('should render a canvas', () => {
const vm = new Vue({
- template: '',
+ render: function (createElement) {
+ return createElement(
+ PolarChart
+ )
+ },
components: { PolarChart }
}).$mount(el)
@@ -22,7 +26,15 @@ describe('PolarChart', () => {
it('should change id based on prop', () => {
const vm = new Vue({
- template: '',
+ render: function (createElement) {
+ return createElement(
+ PolarChart, {
+ props: {
+ chartId: 'polarchartprop'
+ }
+ }
+ )
+ },
components: { PolarChart }
}).$mount(el)
diff --git a/test/unit/specs/Radar.spec.js b/test/unit/specs/Radar.spec.js
index a05a24f..8e58577 100644
--- a/test/unit/specs/Radar.spec.js
+++ b/test/unit/specs/Radar.spec.js
@@ -10,7 +10,11 @@ describe('RadarChart', () => {
it('should render a canvas', () => {
const vm = new Vue({
- template: '',
+ render: function (createElement) {
+ return createElement(
+ RadarChart
+ )
+ },
components: { RadarChart }
}).$mount(el)
@@ -22,7 +26,15 @@ describe('RadarChart', () => {
it('should change id based on prop', () => {
const vm = new Vue({
- template: '',
+ render: function (createElement) {
+ return createElement(
+ RadarChart, {
+ props: {
+ chartId: 'rodarchartprop'
+ }
+ }
+ )
+ },
components: { RadarChart }
}).$mount(el)