add unit test (jest)
(cherry picked from commit c8c8abc3)
Showing
+9782 -2800
__test/gitlab.test.ts
0 → 100644
__test/methods.test.ts
0 → 100644
jest.config.js
0 → 100644
This diff is collapsed.
... | ... | @@ -17,7 +17,7 @@ |
"start": "nodemon app.ts", | ||
"build": "tsc -build", | ||
"clean": "tsc -build --clean", | ||
"test": "" | ||
"test": "jest" | ||
}, | ||
"dependencies": { | ||
"async": "^3.2.0", | ||
... | ... | @@ -43,9 +43,12 @@ |
"@types/express-fileupload": "^1.1.6", | ||
"@types/express-flash": "^0.0.2", | ||
"@types/express-session": "^1.17.3", | ||
"@types/jest": "^26.0.24", | ||
"@types/morgan": "^1.9.2", | ||
"@types/passport": "^1.0.6", | ||
"jest": "^27.0.6", | ||
"nodemon": "^2.0.9", | ||
"ts-jest": "^27.0.3", | ||
"ts-node": "^10.0.0", | ||
"typescript": "^4.3.5" | ||
} | ||
... | ... |
Please register or sign in to comment