Skip to content

Commit 4b92e0d

Browse files
committed
vitest setup and some tests written
1 parent 9d8aeb3 commit 4b92e0d

12 files changed

+1380
-18
lines changed

package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"main": "dist/index.js",
99
"scripts": {
1010
"build": "tsc",
11+
"test": "vitest run --coverage",
1112
"prepublishOnly": "npm run build"
1213
},
1314
"files": [
@@ -37,7 +38,9 @@
3738
"devDependencies": {
3839
"@types/node": "^20.9.2",
3940
"@types/readline-sync": "^1.4.7",
40-
"typescript": "^5.2.2"
41+
"@vitest/coverage-v8": "^0.34.6",
42+
"typescript": "^5.2.2",
43+
"vitest": "^0.34.6"
4144
},
4245
"dependencies": {
4346
"ansi-colors": "^4.1.3",

0 commit comments

Comments
 (0)