I am using the following code to run Jest test on specific file.
jest utils.spec.js --collectCoverageFrom=**/utils.js
If i want to test whole directory i use
jest someDirectory --collectCoverageFrom=**/someDirectory
But the code coverage does not work here why is so?
Thanks.