Skip to content

Commit

Permalink
feat(package.json): add test scripts for unit testing and coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Callenowy committed Jan 17, 2024
1 parent a70d30a commit e72489c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
"lint": "next lint",
"format": "prettier --write \"**/*.{ts,tsx,js,jsx,md}\"",
"format:check": "prettier --list-different \"**/*.{ts,tsx,js,jsx,md}\"",
"test": "npm run test:unit",
"test:unit": "vitest",
"test:unit:coverage": "vitest run --coverage",
"test:unit:ui": "vitest --ui",
"postinstall": "husky install"
},
"dependencies": {
Expand Down

0 comments on commit e72489c

Please sign in to comment.