import React from 'react'; import ErrorPage from '../../views/ErrorPage'; import { shallow } from '../enzyme'; describe('ErrorPage', () => { beforeAll(() => {}); it('should be defined', () => { expect(ErrorPage).toBeDefined(); }); it('should render correctly', () => { const tree = shallow(); expect(tree).toMatchSnapshot(); }); });