tests: update base test
This commit is contained in:
parent
46c9289b6b
commit
392c51173e
@ -1,7 +1,6 @@
|
|||||||
import React from 'react'
|
import React from 'react'
|
||||||
import { shallow } from 'enzyme/build'
|
import { shallow } from 'enzyme/build'
|
||||||
import App from './App'
|
import App from './App'
|
||||||
import ChartLineSimple from './views/examples/charts/ChartLineSimple'
|
|
||||||
import Dashboard from './views/dashboard/Dashboard.js'
|
import Dashboard from './views/dashboard/Dashboard.js'
|
||||||
|
|
||||||
it('mounts App without crashing', () => {
|
it('mounts App without crashing', () => {
|
||||||
@ -13,8 +12,3 @@ it('mounts Dashboard without crashing', () => {
|
|||||||
const wrapper = shallow(<Dashboard />)
|
const wrapper = shallow(<Dashboard />)
|
||||||
wrapper.unmount()
|
wrapper.unmount()
|
||||||
})
|
})
|
||||||
|
|
||||||
it('mounts Charts without crashing', () => {
|
|
||||||
const wrapper = shallow(<ChartLineSimple />)
|
|
||||||
wrapper.unmount()
|
|
||||||
})
|
|
||||||
|
Loading…
Reference in New Issue
Block a user