admin/src/App.test.js
2021-05-24 17:16:51 +02:00

15 lines
358 B
JavaScript

import React from 'react'
import { shallow } from 'enzyme/build'
import App from './App'
import Dashboard from './views/dashboard/Dashboard.js'
it('mounts App without crashing', () => {
const wrapper = shallow(<App />)
wrapper.unmount()
})
it('mounts Dashboard without crashing', () => {
const wrapper = shallow(<Dashboard />)
wrapper.unmount()
})