Add coverage paths

This commit is contained in:
Sidharth Vinod
2023-06-16 23:54:02 +05:30
parent 3011b7a1ea
commit 7434031003
2 changed files with 4 additions and 0 deletions

View File

@@ -119,5 +119,8 @@
}, },
"volta": { "volta": {
"node": "18.16.0" "node": "18.16.0"
},
"nyc": {
"report-dir": "coverage/cypress"
} }
} }

View File

@@ -18,6 +18,7 @@ export default defineConfig({
setupFiles: ['packages/mermaid/src/tests/setup.ts'], setupFiles: ['packages/mermaid/src/tests/setup.ts'],
coverage: { coverage: {
reporter: ['text', 'json', 'html', 'lcov'], reporter: ['text', 'json', 'html', 'lcov'],
reportsDirectory: './coverage/vitest',
}, },
}, },
build: { build: {