Merge test coverage #8332
Unanswered
Xiaobin-0606
asked this question in
Q&A
Replies: 1 comment
-
|
Use Vitest projects (workspaces) and coverage is automatically merged for whole project. Example at https://stackblitz.com/~/edit/vitest-workspace-coverage-fqtzap4y?file=vitest.config.ts. import { defineConfig } from 'vitest/config'
export default defineConfig({
test: {
coverage: { enabled: true },
projects: ['packages/*'],
},
}) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How to merge test coverage of subpackages in a monorepo?
Beta Was this translation helpful? Give feedback.
All reactions