Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jest command coverage

# in package.json
# "scripts": {
#     "test": "jest --coverage"
# },

# using yarn
yarn test

# using npm
npm run test
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jest #command #coverage
ADD COMMENT
Topic
Name
7+4 =