Skip to content

Commit

Permalink
added coverage command (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
benhalverson authored Oct 28, 2024
1 parent 4e770d4 commit d66b845
Show file tree
Hide file tree
Showing 3 changed files with 237 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,5 @@ dist-ssr
.dev.vars
.env
.env.local

coverage/
236 changes: 233 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"build": "tsc && vite build",
"test": "vitest",
"test:watch": "vitest --watch",
"test:coverage": "vitest --coverage",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "npm run build && wrangler pages dev ./dist",
"deploy": "npm run build && wrangler pages deploy ./dist"
Expand Down Expand Up @@ -41,6 +42,7 @@
"@typescript-eslint/parser": "^7.2.0",
"@vitejs/plugin-react-swc": "^3.5.0",
"@vitest/browser": "^2.0.5",
"@vitest/coverage-v8": "^2.1.3",
"autoprefixer": "^10.4.20",
"eslint": "^8.57.0",
"eslint-plugin-react-hooks": "^4.6.0",
Expand Down

0 comments on commit d66b845

Please sign in to comment.