Skip to content

Commit

Permalink
chore: Added Vitest GitHub workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Venefilyn committed Nov 25, 2024
1 parent ce9d416 commit d5d12cc
Show file tree
Hide file tree
Showing 3 changed files with 351 additions and 68 deletions.
3 changes: 2 additions & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@
"@biomejs/biome": "1.8.3",
"babel-plugin-named-exports-order": "^0.0.2",
"prop-types": "^15.8.1",
"vitest": "^2.1.2"
"vitest": "^2.1.5",
"@vitest/coverage-v8": "^2.1.5"
},
"engines": {
"node": ">=20",
Expand Down
5 changes: 5 additions & 0 deletions frontend/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,10 @@ export default defineConfig(() => ({
test: {
environment: "happy-dom",
reporters: process.env.GITHUB_ACTIONS ? ['dot', 'github-actions'] : ['dot'],
include: ["src"],
},
coverage: {
provider: "v8",
include: ["src"]
}
}));
Loading

0 comments on commit d5d12cc

Please sign in to comment.