Fix vitest junit coverage runs

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2022-09-21 10:33:50 +02:00
parent c35a066368
commit 280b255529
3 changed files with 4 additions and 21 deletions

View File

@@ -74,6 +74,9 @@ export default defineConfig(({ command }) => {
"@": path.resolve(__dirname, "./src"),
},
},
coverage: {
reporter: ["text", "json", "html"],
},
setupFiles: path.resolve(__dirname, "./tests/unit/setup.ts"),
include: [path.resolve(__dirname, "./tests/unit/specs/**/*.spec.ts")],
},