Skip to content

Instantly share code, notes, and snippets.

@brunapereira
Last active June 29, 2018 15:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brunapereira/1ea9922b01a1fc869b9668cd2a510558 to your computer and use it in GitHub Desktop.
Save brunapereira/1ea9922b01a1fc869b9668cd2a510558 to your computer and use it in GitHub Desktop.
describe('Card Group Component', () => {
it('should render Card Component', () => {
const cardGroup = shallow(<CardGroup title="Test Group" cards={cards} />);
expect(cardGroup.find(Card).length).toBe(2);
})
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment