Reputation: 284
I am using jest framework for vue.js unit test cases. My issue is my file lines of code is 31. But showing uncovered line is 39, 40. Is there any issue in config related things.
What is the issue here. I am facing this issue in all my .vue files. How to rectify this
Upvotes: 1
Views: 904
Reputation: 284
"mapCoverage": true
Add this link in your jest.config.json file, then try it will work.
Upvotes: -1