Created
June 29, 2018 15:23
-
-
Save brunapereira/dd8df4daa2931d46c5c50437aa984218 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
it('should render Card Component', () => { | |
const cardGroup = shallow(<CardGroup title="Test Group" cards={cards} />); | |
expect(cardGroup).to.have.exactly(2).descendants(Card) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment