Sep 6, 2018 · 1 min read
While attempting to follow your code exactly, I keep running into the following error:
● Test suite failed to run
Cannot find module ‘react’ from ‘ReactSixteenAdapter.js’
at Resolver.resolveModule (node_modules/jest-resolve/build/index.js:179:17)
at Object.<anonymous> (../../node_modules/enzyme-adapter-react-16/build/ReactSixteenAdapter.js:15:14)
Any ideas how to get around that?