feat: add Jest testing framework and implement unit tests for configuration and service logic

This commit is contained in:
Shrev Dev
2025-10-21 11:08:26 -05:00
parent 526298bea4
commit 4ee1442589
12 changed files with 4517 additions and 3 deletions
+8 -2
View File
@@ -7,7 +7,10 @@
"build": "tsc",
"start": "node dist/index.js",
"dev": "ts-node src/index.ts",
"watch": "tsc --watch"
"watch": "tsc --watch",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage"
},
"keywords": [
"discord",
@@ -24,8 +27,11 @@
},
"devDependencies": {
"@types/node": "^20.10.5",
"@types/jest": "^29.5.8",
"typescript": "^5.3.3",
"ts-node": "^10.9.2"
"ts-node": "^10.9.2",
"jest": "^29.7.0",
"ts-jest": "^29.1.1"
}
}