check jest code coverage locally code example Example: npm run test:coverage command in jest npm test -- --coverage