Skip to content

Commit 4e48327

Browse files
authored
test: align with nyc coverage configuration (#270)
1 parent 2c29d7a commit 4e48327

File tree

2 files changed

+3
-20
lines changed

2 files changed

+3
-20
lines changed

.nycrc

Lines changed: 0 additions & 19 deletions
This file was deleted.

vitest.config.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ export default defineConfig({
66
include: ["test/**/*.test.ts"],
77
testTimeout: 60000,
88
coverage: {
9-
include: ["src"],
9+
include: ["src/**/*.ts"],
10+
exclude: ["src/external/**/*.ts"],
11+
reporter: ["html", "lcov", "text-summary"],
1012
},
1113
},
1214
})

0 commit comments

Comments
 (0)