-
Notifications
You must be signed in to change notification settings - Fork 54
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
Cannot read property '_reactInternalFiber' of null #119
Comments
same issue, following. |
can confirm, that the error "Cannot read property '_reactInternalFiber' of null" is occuring
|
At the end what I did was to disable this plugin, and just write them using Jest. |
Any update on this? Is still happening |
I'm new to Storybook but have set-up Enzyme testing environments successfully a few times. I'm also running into this strange issue. My setup: enzyme 3.11.0 Hooking up Storybook to @testing-library/react works, but Enzyme is returning Cannot read property '_reactInternalFiber' of null when attempting to enzyme mount() a component. This thread seems related, but I tend to think the issue is on the storybook side of things. |
Some news elsewhere on this issue? |
What I did to circumvent the issue was to run a fake mount at the beginning of the build and then later run the rest as usual, not a good fix but it’s something... |
I updated storybook to the latest version
5.1.11
from3.3.0-alpha.4
, also I updated all of the dependencies.Now I have a really strange issue...
When I am using
mount
to test the component. It happens the following.If I use
shallow
everything works fine.Also, if I change something in a file, and storybook reloads, the preview is working again, and the only issue is that some of the tests aren't passing, and saying
Method “props” is meant to be run on 1 node. 0 found instead.
Anybody updated to latests in storybook and all went smooth with this plugin?
The text was updated successfully, but these errors were encountered: