Skip to content

Commit

Permalink
try fixing coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
toloudis committed Nov 22, 2024
1 parent 2d67c94 commit 323c295
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"install-examples": "npm install && cd examples && npm install",
"gh-build": "npm run processCSS && cd examples && npm run build-example",
"lint": "eslint src/**",
"test": "vitest run --coverage",
"test": "vitest run",
"coverage": "vitest run --coverage",
"typeCheck": "tsc -p tsconfig.json --noEmit",
"all-checks": "npm-run-all lint test typeCheck",
"generateTypes": "tsc -p tsconfig.base.json --emitDeclarationOnly",
Expand Down
3 changes: 3 additions & 0 deletions vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,8 @@ export default defineConfig({
environment: "jsdom",
globals: true,
setupFiles: ["./src/test/testSetup.ts"],
coverage: {
reporter: ["text", "json-summary", "json"],
},
},
});

0 comments on commit 323c295

Please sign in to comment.