-
-
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
ShallowWrapper instance() method always returns null since 1.15.3 #2434
Comments
I have the same issue as well! |
I have the same problem, too. |
Tagging @ljharb and @lamhieu-vk to make sure they're aware multiple people are running into this. |
Sorry for the late reply. I will debug, report, and fix it soon! |
@lamhieu-vk, I had a notification about a reply on this thread asking for repro repo but since that message is not visible here I guess you’ve found the issue and don’t need a repro anymore? |
@cascornelissen I created repro repo for this bug |
I created a pull request for this issue! |
@ljharb, sorry to tag you but are there any plans for a new patch release? We'd really like to get this fixed in our projects. 😅 Also, thanks for your time working on OSS! ❤️ |
v1.15.4 is released. |
@cascornelissen please verify the new version and confirm here 😉 |
Thanks for the release, it does indeed fix it on our projects. Thanks to both of you once more! |
Looks like this change broke the
.instance()
method on ashallow()
rendered component for us when the root component is aReact.Suspense
. Verified to be working correctly in[email protected]
.Any ideas?
It does seem to work correctly when using
mount()
though.Originally posted by @cascornelissen in #2328 (comment)
The text was updated successfully, but these errors were encountered: