Added widget charts, chart extracted from widgets.

This commit is contained in:
woothu
2018-10-11 12:34:59 +02:00
parent 2023248ee2
commit 364c951ef2
26 changed files with 785 additions and 130 deletions
+2 -2
View File
@@ -17,8 +17,8 @@ describe(ComponentName + '.vue', () => {
})
it('correctly sets default props and data when created', () => {
expect(wrapper.props().cardClasses).toBe('')
expect(wrapper.props().header).toBe('header|string')
expect(wrapper.props().text).toBe('text|string')
expect(wrapper.props().header).toBe('header:string')
expect(wrapper.props().text).toBe('text:string')
expect(wrapper.props().chartType).toBe('chart1')
expect(wrapper.props().chartHeight == 70).toBe(true)
})