npm test -- --coverage
// Command
npm run test -- --coverage
// If you wanna watch
npm run test -- --coverage --watchAll=true
// or
npm run test -- --coverage --watchAll=true
// To check jest coverage you can use
jest --coverage
# in package.json
# "scripts": {
# "test": "jest --coverage"
# },
# using yarn
yarn test
# using npm
npm run test