-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathjest.config.ts
More file actions
32 lines (32 loc) · 970 Bytes
/
jest.config.ts
File metadata and controls
32 lines (32 loc) · 970 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
25
26
27
28
29
30
31
32
module.exports = {
testEnvironment: 'node',
testTimeout: 100000,
transform: {
'^.+\\.tsx?$': 'ts-jest',
},
transformIgnorePatterns: [
'<rootDir>/node_modules/',
],
testRegex: '(/test/.*(\\.|/)(test|spec))\\.(ts?|tsx?|js?|jsx?)$',
moduleFileExtensions: [
'ts',
'tsx',
'js',
'jsx',
'json',
'node',
],
modulePathIgnorePatterns: [
'<rootDir>/dist/',
],
// moduleNameMapper: {
// "^@netcracker/qubership-apihub-api-unifier$":'<rootDir>/../qubership-apihub-api-unifier/src',
// "^@netcracker/qubership-apihub-json-crawl$":'<rootDir>/../qubership-apihub-json-crawl/src',
// "^@netcracker/qubership-apihub-graphapi$":'<rootDir>/../qubership-apihub-graphapi/src',
// "^@netcracker/qubership-apihub-compatibility-suites$":'<rootDir>/../apihub-compatibility-suites/generation/suite-service',
// },
setupFilesAfterEnv: [
'jest-extended/all',
'<rootDir>/test/setup/jest-wrappers.ts',
],
}