-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove unncessary comp. Fix spacing for github link
- Loading branch information
1 parent
9744f2e
commit b0d8a4c
Showing
11 changed files
with
37 additions
and
167 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -93,6 +93,7 @@ workflows: | |
only: | ||
- develop | ||
- fix/circleci | ||
- fix/spacing | ||
- deploy-master: | ||
requires: | ||
- set-up | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
43 changes: 0 additions & 43 deletions
43
src/components/ConfPageHeader/__snapshots__/ConfPageHeader.spec.tsx.snap
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,21 @@ | ||
import { mount } from 'enzyme' | ||
import toJSON from 'enzyme-to-json' | ||
import * as React from 'react' | ||
import { mount } from 'enzyme'; | ||
import toJSON from 'enzyme-to-json'; | ||
import * as React from 'react'; | ||
|
||
import { wrapWithMemoryRouter } from 'utils/test' | ||
import { Header } from './Header' | ||
import { wrapWithMemoryRouter } from 'utils/test'; | ||
import { Header } from './Header'; | ||
|
||
describe('Header', () => { | ||
it('should render', () => { | ||
// arrange | ||
// act | ||
const comp = mount(wrapWithMemoryRouter(<Header />)) | ||
const comp = mount( | ||
wrapWithMemoryRouter( | ||
<Header title="A title" tagline="A tagline" titleLink="/a-link" /> | ||
) | ||
); | ||
|
||
// assert | ||
expect(toJSON(comp)).toMatchSnapshot() | ||
}) | ||
}) | ||
expect(toJSON(comp)).toMatchSnapshot(); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters