test.js not picked up by test script
Created by: dsm23
runningnpm test
or yarn test
in a codebase with react-scripts v3.0.0 as a dependency is resulting in test.js and spec.js (files without a component prefix) are not being picked up by jest. This is because of a recent change to the file packages/react-scripts/scripts/utils/createJestConfig.js
.