Skip to content

Commit 6a8c601

Browse files
committed
docs: migration to mention coverage.excludes
1 parent a689ff6 commit 6a8c601

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/guide/migration.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,10 @@ This function is not used internally and exposed exclusively as a public API.
8585

8686
The `vitest/reporters` entrypoint now only exports reporters implementations and options types. If you need access to `TestCase`/`TestSuite` and other task related types, import them additionally from `vitest/node`.
8787

88+
### Coverage ignores test files even when `coverage.excludes` is overwritten.
89+
90+
It is no longer possible to include test files in coverage report by overwriting `coverage.excludes`. Test files are now always excluded.
91+
8892
## Migrating to Vitest 2.0 {#vitest-2}
8993

9094
### Default Pool is `forks`

0 commit comments

Comments
 (0)