Hacker News new | ask | show | jobs
by mikewhy 1556 days 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/packa...

https://github.com/facebook/create-react-app/tree/main/packa...