Skip to content

Commit 0714b39

Browse files
committed
feat: proper coverage
1 parent d9bdca4 commit 0714b39

File tree

3 files changed

+4
-9
lines changed

3 files changed

+4
-9
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
node_modules
22
dist
3-
coverage
3+
coverage*

biome.json

+1-7
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
11
{
22
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
33
"files": {
4-
"ignore": [
5-
"node_modules",
6-
"test-results",
7-
"playwright-report",
8-
"package.json",
9-
"dist"
10-
]
4+
"ignore": ["node_modules", "package.json", "dist", "coverage"]
115
},
126
"organizeImports": {
137
"enabled": true

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@
3232
"build": "tsc -p tsconfig.build.json",
3333
"prepare": "husky",
3434
"test": "tsx --test tests/index.test.ts",
35-
"test:coverage": "c8 pnpm test"
35+
"test:coverage": "c8 --include=src pnpm test",
36+
"test:report": "c8 report --reporter=text-lcov > coverage.lcov"
3637
},
3738
"devDependencies": {
3839
"@biomejs/biome": "^1.9.4",

0 commit comments

Comments
 (0)