Skip to content

Commit

Permalink
chore: coverage (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zizzamia authored Aug 8, 2024
1 parent efa36d0 commit 66b7bd2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
8 changes: 3 additions & 5 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
"formatter": {
"enabled": true,
"indentWidth": 2,
"indentStyle": "space",
"ignore": ["package.json"]
"indentStyle": "space"
},
"javascript": {
"formatter": {
Expand Down Expand Up @@ -54,15 +53,14 @@
"useShorthandAssign": "error",
"useSingleCaseStatement": "error"
}
},
"ignore": []
}
},
"json": {
"formatter": {
"trailingCommas": "none"
}
},
"files": {
"ignore": [".next"]
"ignore": ["coverage/**", ".next/**"]
}
}
11 changes: 6 additions & 5 deletions vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,20 @@ export default defineConfig({
'**/**.stories.**',
'**/*Svg.tsx',
'**/types.ts',
'.next/**',
'public/**',
'node_modules/**',
],
reportOnFailure: true,
thresholds: {
statements: 20,
branches: 20,
functions: 20,
lines: 20,
statements: 50,
branches: 50,
functions: 50,
lines: 50,
},
},
environment: 'jsdom',
exclude: ['**/node_modules/**'],
exclude: ['**/node_modules/**', '.next/**', 'public/**'],
setupFiles: ['./vitest.setup.ts'],
globals: true,
},
Expand Down

0 comments on commit 66b7bd2

Please sign in to comment.