Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jest test coverage command

// Command 
npm run test -- --coverage 

// If you wanna watch 
npm run test -- --coverage --watchAll=true 

// or 

npm run test -- --coverage --watchAll=true 

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