Skip to content

Instantly share code, notes, and snippets.

@bjackson2
Created June 25, 2018 19:08
it('displays the correct message if a user has few followers', () => {
const followersComponent = shallow(
<TweetContainer numFollowers={100} />
).find(FollowersDisplay);
expect(followersComponent.html()).toContain('Fewer than 500 followers');
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment