Closed jethas-bennettjones closed 2 years ago
According to your diagnostics report, somewhere in your Jest config you have the following setting:
collectCoverageFrom: [ 'app/**/*.{ts,html}', '!app/api/**' ],
and because your root path seems to have src/
(rather than app/
) folder, code coverage is not collected. Removing the setting or fixing to:
collectCoverageFrom: [ 'src/**/*.{ts,html}', '!src/**/api/**' ],
should help.
Issue description or question
I am unable to see coverage for my source files when either in the editor or using the testapp URL. When I view the information in the testapp, I can see the test runs and failures, but when I click on the Files tab, it doesn't show any of my source code. I have tried to override the automatic configuration, but when I use that file the source files show up but the tests won't run properly.
Here is my wallaby.js file:
Wallaby diagnostics report