3 ms·
CRA doesn't enforce any structure, outside of "code lives in arc/ and public files go in public/" The default templates are just a single folder, with tests lo
by mikewhy 5y ago
CRA doesn't enforce any structure, outside of "code lives in arc/ and public files go in public/"
The default templates are just a single folder, with tests located adjacent to their source files.
CRA configures jest to look for test files in arc/, but let's users override that.
https://github.com/facebook/create-react-app/tree/main/packages/cra-template/template https://github.com/facebook/create-react-app/tree/main/packa...
https://github.com/facebook/create-react-app/tree/main/packages/cra-template/template https://github.com/facebook/create-react-app/tree/main/packa...