forked from GeovaneSchmitz/sigaa-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjestconfig.json
More file actions
24 lines (24 loc) · 834 Bytes
/
Copy pathjestconfig.json
File metadata and controls
24 lines (24 loc) · 834 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
"clearMocks": true,
"testEnvironment": "node",
"transform": {
"^.+\\.(t|j)sx?$": "ts-jest"
},
"roots": ["<rootDir>"],
"moduleFileExtensions": ["ts", "js", "json"],
"testRegex": "/src/[\\s\\S]*spec.ts$",
"modulePaths": ["<rootDir>"],
"modulePathIgnorePatterns": ["dist"],
"moduleNameMapper": {
"@sigaa": "<rootDir>/src/main",
"@account(.*)": "<rootDir>/src/account/$1",
"@bonds(.*)": "<rootDir>/src/bonds/$1",
"@attachments(.*)": "<rootDir>/src/courses/resources/attachments/$1",
"@courseResources(.*)": "<rootDir>/src/courses/resources/$1",
"@resources(.*)": "<rootDir>/src/resources/$1",
"@courses(.*)": "<rootDir>/src/courses/$1",
"@helpers(.*)": "<rootDir>/src/helpers/$1",
"@search(.*)": "<rootDir>/src/search/$1",
"@session(.*)": "<rootDir>/src/session/$1"
}
}