You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently, I've found the Istanbul provider inconsistent in its reporting. In my attached reproduction and video, you can see that upon launching the project and pressing "run all with coverage," I got a report of 0%. Clicking an individual test with coverage removes coverage entirely from the vscode test explorer.
Adding additional code seems to alter the behaviour, as shown when I add another function and press "run all with coverage" again. This results in realistic coverage again, and the UI shows accurate hover details.
I couldn't garner much from the logs, but let me know what you think.
Describe the bug
Recently, I've found the Istanbul provider inconsistent in its reporting. In my attached reproduction and video, you can see that upon launching the project and pressing "run all with coverage," I got a report of 0%. Clicking an individual test with coverage removes coverage entirely from the vscode test explorer.
Adding additional code seems to alter the behaviour, as shown when I add another function and press "run all with coverage" again. This results in realistic coverage again, and the UI shows accurate hover details.
I couldn't garner much from the logs, but let me know what you think.
Kapture.2024-12-12.at.23.27.30.mp4
Reproduction
https://github.com/ericchernuka/vitest-test-extension-istanbul-repro
Output
Extension Version
1.8.3
Vitest Version
2.1.8
Validations
The text was updated successfully, but these errors were encountered: