File tree Expand file tree Collapse file tree 4 files changed +21
-32
lines changed Expand file tree Collapse file tree 4 files changed +21
-32
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ export { default as About } from './about/About' ;
2+ export { default as Home } from './home/Home' ;
3+ export { default as PageNotFound } from './pageNotFound/PageNotFound' ;
4+ export { default as Login } from './login/Login' ;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ import React from 'react' ;
2+ import { shallow } from 'enzyme' ;
3+ import { MemoryRouter } from 'react-router' ;
4+ import PageNotFound from '../PageNotFound' ;
5+
6+ describe ( 'PageNotFound page' , ( ) => {
7+ it ( 'renders as expected' , ( ) => {
8+ const component = shallow (
9+ < div >
10+ < MemoryRouter >
11+ < PageNotFound />
12+ </ MemoryRouter >
13+ </ div > ,
14+ ) ;
15+ expect ( component ) . toMatchSnapshot ( ) ;
16+ } ) ;
17+ } ) ;
You can’t perform that action at this time.
0 commit comments