-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
ReactWrapper.instance() documentation seems to be wrong/outdated #1669
Labels
Comments
Thanks, could you submit a PR with the corrections you have in mind? |
Sure! On a related note: should the docs for |
conor-cafferkey-sociomantic
added a commit
to conor-cafferkey-sociomantic/enzyme
that referenced
this issue
Jun 1, 2018
conor-cafferkey-sociomantic
added a commit
to conor-cafferkey-sociomantic/enzyme
that referenced
this issue
Jun 1, 2018
@conor-cafferkey-sociomantic the commit you linked is part of all v3 releases, not just 3.3.0. I think it's a good idea to remove the docs for those methods. |
conor-cafferkey-sociomantic
added a commit
to conor-cafferkey-sociomantic/enzyme
that referenced
this issue
Jul 13, 2018
conor-cafferkey-sociomantic
added a commit
to conor-cafferkey-sociomantic/enzyme
that referenced
this issue
Jul 13, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
The documentation for
ReactWrapper.instance()
is seems to be wrong/outdated:and:
As of Enzyme 3,
ReactWrapper.instance()
can be called at any level of the tree, or ratherinstance()
does whatgetNode()
used to.To Reproduce
Steps to reproduce the behavior:
.instance(
) (note outdated description).instance()
doc page (note outdated content)Expected behavior
Should describe the new behavior since Enzyme 3:
Reference:
The text was updated successfully, but these errors were encountered: