Skip to content
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

Merged
merged 1 commit into from
Feb 6, 2019

Conversation

ibolton336
Copy link
Member

No description provided.

Copy link
Collaborator

@michaelkro michaelkro left a 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 :)

@michaelkro
Copy link
Collaborator

Actually, not sure about comment. Something weird is happening for me locally

Copy link
Collaborator

@michaelkro michaelkro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

Copy link
Member

@cdcabrera cdcabrera left a 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

Copy link
Collaborator

@seanforyou23 seanforyou23 left a 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!

@seanforyou23
Copy link
Collaborator

Copy link
Collaborator

@seanforyou23 seanforyou23 left a 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.

Copy link
Collaborator

@seanforyou23 seanforyou23 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, nice work!

@seanforyou23 seanforyou23 merged commit 1f59956 into patternfly:master Feb 6, 2019
@ibolton336 ibolton336 deleted the update-tests branch February 6, 2019 20:29
bhanvimenghani pushed a commit to bhanvimenghani/patternfly-react-seed that referenced this pull request Mar 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants