raegen / vite-plugin-vitest-cache

Speed up your vitest pipeline with caching
MIT License
4 stars 0 forks source link

Test coverage data not available if test run is using entirely-cached data #16

Open jpabeem opened 4 days ago

jpabeem commented 4 days ago

First of all, awesome plugin! It works really well.

The only issue I am experiencing is w.r.t. test coverage, if >= 1 test is being re-ran, it will correctly display the test coverage. If fully built from cache, it incorrectly displays the (lack of) code coverage.

Example if re-running >=1 test

Screenshot 2024-11-20 at 00 20 35

Example if running entirely off of cache

Screenshot 2024-11-20 at 00 20 46


Would be good to have a fix! Let me know if I can help.

raegen commented 3 days ago

@jpabeem I'll take a look tonight. And thank you for the feedback!

raegen commented 1 day ago

Jesus this auto-close, gonna have to take a look into those settings too. Anways jpabeem, can you bump the version to 0.3.2 and try?

jpabeem commented 1 day ago

Haha no worries. Awesome!! Thanks a lot for the quick triage + fix.

I have to wait a few days before I can consume this as we have a small lag internally, but will report back.