To run the test runner in the interactive watch mode:
npm test
See the creat-react-app's documentation about running tests for more information.
To run the tests once:
# Bash CI=true npm test
# Fish env CI=true npm test