22 lines
530 B
JavaScript
22 lines
530 B
JavaScript
import React from 'react'
|
|
import { shallow } from 'enzyme/build'
|
|
import App from './App'
|
|
import ChartLineSimple from './views/charts/ChartLineSimple'
|
|
import Dashboard from './views/dashboard/Dashboard.js'
|
|
|
|
|
|
it('mounts without crashing', () => {
|
|
const wrapper = shallow(<App/>)
|
|
wrapper.unmount()
|
|
})
|
|
|
|
it('mounts dashboard without crashing', () => {
|
|
const wrapper = shallow(<Dashboard/>)
|
|
wrapper.unmount()
|
|
})
|
|
|
|
it('mounts charts without crashing', () => {
|
|
const wrapper = shallow(<ChartLineSimple/> )
|
|
wrapper.unmount()
|
|
})
|