Created
September 6, 2017 14:42
-
-
Save jmacioszek/85fdd1b1eda9fe7f5f1664bd127af936 to your computer and use it in GitHub Desktop.
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
describe('<JobCard />', () => { | |
it('should render correct structure', () => { | |
window.scrollTo(0, 500) | |
const component = shallow( | |
<JobCard />, | |
{ context: {store: mockStore(initialState)}} | |
).first().shallow() | |
expect(toJson(component.first().shallow())).toMatchSnapshot() | |
}) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment