-
Notifications
You must be signed in to change notification settings - Fork 1
/
jest.config.js
47 lines (47 loc) · 1.3 KB
/
jest.config.js
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
module.exports = {
projects: [
{
displayName: 'test',
coverageDirectory: 'test',
preset: 'ts-jest',
testEnvironment: 'node',
testRegex: './*/__tests__/.*\\.(test|spec)\\.[jt]sx?$',
},
{
displayName: 'integration',
coverageDirectory: 'integration',
preset: 'ts-jest',
testEnvironment: 'node',
testRegex: './*/__integration_test__/.*\\.integration\\.test\\.[jt]sx?$',
},
{
displayName: 'cxx-parser',
coverageDirectory: 'cxx-parser',
preset: 'ts-jest',
testEnvironment: 'node',
testRegex: 'cxx-parser/__tests__/.*\\.(test|spec)\\.[jt]sx?$',
},
{
displayName: 'integration:cxx-parser',
coverageDirectory: 'integration:cxx-parser',
preset: 'ts-jest',
testEnvironment: 'node',
testRegex:
'cxx-parser/__integration_test__/.*\\.integration\\.test\\.[jt]sx?$',
},
{
displayName: 'terra',
coverageDirectory: 'terra',
preset: 'ts-jest',
testEnvironment: 'node',
testRegex: 'terra/__tests__/.*\\.(test|spec)\\.[jt]sx?$',
},
{
displayName: 'terra-core',
coverageDirectory: 'terra-core',
preset: 'ts-jest',
testEnvironment: 'node',
testRegex: 'terra-core/__tests__/.*\\.(test|spec)\\.[jt]sx?$',
},
],
};