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
After upgrading to v0.22 we noticed each run of vitest was getting progressively slower. After awhile it stopped working entirely and would fail with an out of memory error. After some digging - it seems that the files in /coverage/tmp are not being cleared out between runs. Prior to v0.22 this was happening automatically and seems like it should be the default behavior per c8's documentation.
Reproduction
We are running vitest run --environment jsdom --coverage. After running - look in /coverage/tmp and note the number of .json files present. Each time you run, this folder gets larger.
Describe the bug
After upgrading to v0.22 we noticed each run of vitest was getting progressively slower. After awhile it stopped working entirely and would fail with an out of memory error. After some digging - it seems that the files in
/coverage/tmp
are not being cleared out between runs. Prior to v0.22 this was happening automatically and seems like it should be the default behavior per c8's documentation.Reproduction
We are running
vitest run --environment jsdom --coverage
. After running - look in/coverage/tmp
and note the number of.json
files present. Each time you run, this folder gets larger.System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: