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

Use enzyme in all tests #244

Merged
merged 12 commits into from
May 18, 2016
Merged

Use enzyme in all tests #244

merged 12 commits into from
May 18, 2016

Conversation

levithomason
Copy link
Member

@levithomason levithomason commented May 18, 2016

This test removes our old RenderTree testing util in favor of enzyme. The remaining tests using it were updated. Some missing tests were added. Very minimal component refactoring was made as well.

shallow rendering was used everywhere possible. No test refactoring was done except that necessary to convert the old RenderTree syntax to the new enzyme.

}

static defaultProps = {
abortLabel: 'Cancel',
confirmLabel: 'Yes',
ref: 'modal',
Copy link
Member Author

Choose a reason for hiding this comment

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

There is no reason to set an internal access only ref name via props. Anyway, it was not used.

@dvdzkwsk
Copy link
Member

👻 , nothing really jumping out to me.

@levithomason levithomason merged commit 821407d into master May 18, 2016
@levithomason levithomason deleted the feature/remove-render-tree branch May 18, 2016 17:43
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.

2 participants