Skip to content

Commit 2235673

Browse files
committed
migration
1 parent 977f3c1 commit 2235673

File tree

4 files changed

+21
-32
lines changed

4 files changed

+21
-32
lines changed

front/src/pages/index.js

Lines changed: 0 additions & 6 deletions
This file was deleted.

front/src/pages/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
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';

front/src/pages/pageNotFound/__tests__/PageNotFound.test.js

Lines changed: 0 additions & 26 deletions
This file was deleted.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
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+
});

0 commit comments

Comments
 (0)