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

Add public root method #1127

Merged
merged 1 commit into from
Sep 18, 2017
Merged

Conversation

lelandrichardson
Copy link
Collaborator

This adds a public root() method to the shallow and mount wrappers. This is a reasonable public API to have, and chai-enzyme needs this for a couple of things.

@lelandrichardson lelandrichardson merged commit f3ab2d8 into master Sep 18, 2017
@lelandrichardson lelandrichardson deleted the lmr--add-public-root-method branch September 18, 2017 00:37
@ljharb
Copy link
Member

ljharb commented Sep 19, 2017

@lelandrichardson Can we add some tests for this method?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants