tests: update base test

This commit is contained in:
Łukasz Holeczek 2021-05-24 17:16:51 +02:00
parent 46c9289b6b
commit 392c51173e

View File

@ -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()
})