Skip to content

fix: apply clean option in standard coverage flow#80

Merged
wellwelwel merged 1 commit into
mainfrom
clean
Apr 1, 2026
Merged

fix: apply clean option in standard coverage flow#80
wellwelwel merged 1 commit into
mainfrom
clean

Conversation

@wellwelwel
Copy link
Copy Markdown
Member

The clean option was only forwarded to the Monocart experimental path. In the standard flow, stale V8 coverage files from previous runs were never removed, contaminating subsequent reports.

Now setup() deletes and recreates the temp directory before execution when clean is not false, matching the original c8 behavior.

@wellwelwel wellwelwel marked this pull request as ready for review April 1, 2026 17:14
@wellwelwel wellwelwel merged commit 6dbae63 into main Apr 1, 2026
6 checks passed
@wellwelwel wellwelwel deleted the clean branch April 1, 2026 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant