Why Code Coverage in react app is empty? Tried using npm run test -- --coverage. But always showing empty code coverage
https://github.com/facebook/create-react-app/issues/6888
Just add flag --watchAll=false
to your npm run test -- --coverage
https://github.com/facebook/create-react-app/issues/6888
Just add flag --watchAll=false
to your npm run test -- --coverage