Use C8 for coverage

This commit is contained in:
Dolan Miu
2023-06-12 18:43:29 +01:00
parent 09ab91eeef
commit eeee01a0e0
11 changed files with 655 additions and 2090 deletions

View File

@ -22,6 +22,7 @@ export default defineConfig({
},
},
build: {
minify: false,
lib: {
entry: [resolve(__dirname, "src/index.ts")],
name: "docx",
@ -35,5 +36,13 @@ export default defineConfig({
},
test: {
environment: "jsdom",
coverage: {
provider: "c8",
reporter: ["text", "json", "html"],
statements: 99.93,
branches: 98.85,
functions: 100,
lines: 99.93,
},
},
});