In order to run the test code, we will update the run scripts defined in package.json, to add a script for running tests with jest:
"scripts": { "test": "jest" }
In the command line, if we run npm run test, it will prompt Jest to find the test code in the application folders and run the tests.