Closed maxwellhertz closed 1 year ago
You are using react-scripts
which does not read Jest config. Please consult the tool documentation and general search on internet: https://stackoverflow.com/questions/59878153/how-to-use-jest-config-js-with-create-react-app
Closing because it is not actionable on our end.
I see. Thanks for helping me.
Package version
v2.0.1
Jest version
v27.5.1
node-versions
v16.16.0
npm-versions
v8.11.0
Description
I installed the packages and modified my
jest.config.json
according to the instructions given in README.<root>/package.json
:<root>/jest.config.json
:When I ran
npm run test
, the following test still failed due toJest encountered an unexpected token
:Source code
No response
Code of Conduct