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
Currently, Jest is rather sad at how it's been neglected in this react boilerplate ("rocketplate") code. There are no tests 馃憥 and that's no good.
So:
Scaffold a few tests with Enzyme, ensuring the new approach of having a setupTests file that configures the Enzyme adapter. This file is then referenced by the Jest object, within the project's package.json. Essentially meaning we can DRY up our tests, also use latest versions of React, Enzyme and others that have complained when trying to update dependencies.
The text was updated successfully, but these errors were encountered:
Currently, Jest is rather sad at how it's been neglected in this react boilerplate ("rocketplate") code. There are no tests 馃憥 and that's no good.
So:
setupTests
file that configures the Enzyme adapter. This file is then referenced by the Jest object, within the project'spackage.json
. Essentially meaning we can DRY up our tests, also use latest versions of React, Enzyme and others that have complained when trying to update dependencies.The text was updated successfully, but these errors were encountered: