Created
October 27, 2020 17:43
-
-
Save armand1m/5e8013f61140dc0a3e369d2d3d9757c8 to your computer and use it in GitHub Desktop.
Install and setup jest
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yarn add -D jest @types/jest | |
npx add-project-script -n "test" -v "jest" | |
npx add-project-script -n "test:watch" -v "jest --watch" | |
npx add-project-script -n "test:coverage" -v "jest --coverage" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment