Skip to content

Commit 1a57c68

Browse files
committed
migration
1 parent 96bcbb6 commit 1a57c68

File tree

5 files changed

+18
-38
lines changed

5 files changed

+18
-38
lines changed

front/src/pages/home/__tests__/Home.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 Home from '../Home';
5+
6+
describe('Home page', () => {
7+
it('renders as expected', () => {
8+
const component = shallow(
9+
<div>
10+
<MemoryRouter>
11+
<Home />
12+
</MemoryRouter>
13+
</div>,
14+
);
15+
expect(component).toMatchSnapshot();
16+
});
17+
});
Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
// @flow
2-
3-
// #region imports
41
import styled from 'styled-components';
5-
// #endregion
62

73
const HomeInfo = styled.div``;
84

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
// @flow
2-
3-
// #region imports
41
import styled from 'styled-components';
5-
// #endregion
62

73
const LightNote = styled.i`
84
font-size: 0.7em;
Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
// @flow
2-
3-
// #region imports
41
import styled from 'styled-components';
5-
// #endregion
2+
63

74
const MainTitle = styled.h1`
85
color: #222 !important;

0 commit comments

Comments
 (0)