feat: Add Jest configuration and tests for project and user handlers
This commit is contained in:
13
tasker-server/jest.config.json
Normal file
13
tasker-server/jest.config.json
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"preset": "ts-jest",
|
||||
"testEnvironment": "node",
|
||||
"setupFiles": ["<rootDir>/jest.env.js"],
|
||||
"moduleFileExtensions": ["ts", "js"],
|
||||
"transform": {
|
||||
"^.+\\.tsx?$": "ts-jest"
|
||||
},
|
||||
"testMatch": ["**/tests/**/*.test.ts"],
|
||||
"moduleNameMapper": {
|
||||
"^@/(.*)$": "<rootDir>/src/$1"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user