Skip to content

Commit

Permalink
Added vitest for unit testing
Browse files Browse the repository at this point in the history
  • Loading branch information
MananGandhi1810 committed Jul 27, 2024
1 parent a03c7c8 commit a960be3
Show file tree
Hide file tree
Showing 4 changed files with 663 additions and 7 deletions.
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"scripts": {
"lint": "tsc",
"build": "tsup index.ts --format cjs,esm --dts",
"release": "pnpm run build && changeset publish"
"release": "pnpm run build && changeset publish",
"test": "vitest"
},
"repository": {
"type": "git",
Expand All @@ -33,10 +34,11 @@
"@changesets/cli": "^2.27.7",
"@types/node": "^20.14.12",
"tsup": "^8.2.3",
"typescript": "^5.5.4"
"typescript": "^5.5.4",
"vitest": "^2.0.4"
},
"dependencies": {
"@redis/client": "^1.5.17",
"redis": "^4.6.15"
}
}
}
Loading

0 comments on commit a960be3

Please sign in to comment.