Skip to content

Commit

Permalink
feat: proper coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
talentlessguy committed Oct 17, 2024
1 parent d9bdca4 commit 0714b39
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
node_modules
dist
coverage
coverage*
8 changes: 1 addition & 7 deletions biome.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
{
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
"files": {
"ignore": [
"node_modules",
"test-results",
"playwright-report",
"package.json",
"dist"
]
"ignore": ["node_modules", "package.json", "dist", "coverage"]
},
"organizeImports": {
"enabled": true
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
"build": "tsc -p tsconfig.build.json",
"prepare": "husky",
"test": "tsx --test tests/index.test.ts",
"test:coverage": "c8 pnpm test"
"test:coverage": "c8 --include=src pnpm test",
"test:report": "c8 report --reporter=text-lcov > coverage.lcov"
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
Expand Down

0 comments on commit 0714b39

Please sign in to comment.