feat : add testing

This commit is contained in:
2024-12-29 00:06:57 +01:00
parent b97f380131
commit 3a513042f4
27 changed files with 1755 additions and 319 deletions
+7 -2
View File
@@ -65,12 +65,14 @@
"jest": "^29.7.0",
"prettier": "^3.2.5",
"source-map-support": "^0.5.21",
"sqlite3": "^5.1.7",
"supertest": "^6.3.4",
"ts-jest": "^29.1.2",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.3.3"
"typescript": "^5.3.3",
"typescript-eslint": "^8.18.2"
},
"jest": {
"moduleFileExtensions": [
@@ -78,7 +80,10 @@
"json",
"ts"
],
"rootDir": "src",
"rootDir": "./",
"modulePaths": [
"<rootDir>"
],
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"