Skip to content

Instantly share code, notes, and snippets.

@michelts
Last active March 22, 2019 16:02
Show Gist options
  • Save michelts/78d9938ce1155600e55d3595b794de94 to your computer and use it in GitHub Desktop.
Save michelts/78d9938ce1155600e55d3595b794de94 to your computer and use it in GitHub Desktop.
it('Cards component, supposing that uses redux', () => {
const props = StoreFactory({ ...customConditions });
const wrapper = shallow(<Cards {...props} />);
expect(wrapper).toMatchSnapshot();
expect(wrapper.find(something)).toEqual(whatImExpecting);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment