You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.
So, since these are dependencies of the project itself, and need to be required from the test, they will need to also be dependencies of the project. Just like React and ReactDOM aren't included in the neutrino-preset-react, these 2 dependencies need to also be required by the project.
Since Jest isn't technically React specific, I think this is going to boil down to better documentation. We should probably add a section to the Jest preset that if you are testing React components, to also include these as devDependencies.
The Jest preset is an awesome step forward. A few more dependencies we should add:
These allow more react-specific testing, like
enzyme
to createshallow
JSX components. I also neededreact-addons-test-utils
just for tests to run.The text was updated successfully, but these errors were encountered: