diff --git a/.gitignore b/.gitignore index 5a19e8a..60f3b7a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ node_modules dist -coverage \ No newline at end of file +coverage* \ No newline at end of file diff --git a/biome.json b/biome.json index 3fd7ec8..fe58f28 100644 --- a/biome.json +++ b/biome.json @@ -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 diff --git a/package.json b/package.json index 4c85b20..9397ed6 100644 --- a/package.json +++ b/package.json @@ -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",