-
Notifications
You must be signed in to change notification settings - Fork 257
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(add tests): add example of using enzyme assertions and jest snapshots #18
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
snapshots need to be updated :)
Actually, not sure about comment. Something weird is happening for me locally |
e1f7b9e
to
162606a
Compare
162606a
to
d75144a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
down the path we're on wouldn't mind thinking for the future about grouping the __mocks__
, test-setup.js
, and the jest
config somehow, but may need to find other examples first
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple of minor questions/nits - other than that it looks good to me. Nice work @ibolton336!
0b62dc7
to
7e4ec88
Compare
7e4ec88
to
6114ae9
Compare
4266b76
to
707e8e5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work! I think the snapshots need updating, maybe just needs yarn test -u
? Other than that it looks good to me.
707e8e5
to
10f4271
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, nice work!
No description provided.