After creating a new app from the template, the component test returns the following error:
FAIL src/components/App.test.js
● Test suite failed to run
Cannot find module './app' from 'App.test.js'
at Resolver.resolveModule (node_modules/jest-resolve/build/index.js:179:17)
at Object.<anonymous> (src/components/App.test.js:5:12)
Test Suites: 1 failed, 1 total
After creating a new app from the template, the component test returns the following error:
This commit fixes it.