score:-1

You can just update your package.json and in the scripts section update the test one with just "test": "jest"

It should run every test file that it can find in your project

score:1

When you want to run all tests you can use npm test --watchAll

score:1

If you pass CI=true, it will run once without setting up that prompt as described at https://create-react-app.dev/docs/running-tests/#linux-macos-bash:

CI=true npm test

score:28

To run all the tests, use "test": "react-scripts test --watchAll=false"


Related Query

More Query from same tag