-
Notifications
You must be signed in to change notification settings - Fork 114
Expand file tree
/
Copy pathjest.config.js
More file actions
31 lines (31 loc) · 812 Bytes
/
jest.config.js
File metadata and controls
31 lines (31 loc) · 812 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
/*
Jest configuration
*/
process.env.AWS_SDK_JS_SUPPRESS_MAINTENANCE_MODE_MESSAGE = '1';
module.exports = {
coveragePathIgnorePatterns: ['node_modules', 'test/utils'],
coverageDirectory: 'coverage',
globals: {
__DYNAMODB__: null,
},
roots: ['<rootDir>/src', '<rootDir>/test'],
testMatch: [
'**/*.[jt]s',
'!**/src/*.[jt]s',
'!**/setup.[jt]s',
'!**/init.[jt]s',
'!**/teardown.[jt]s',
'!**/helpers.[jt]s',
'!**/schemas/*',
'!**/proto.ts',
'!**/stream.ts',
],
globalSetup: '<rootDir>/test/utils/setup.ts',
globalTeardown: '<rootDir>/test/utils/teardown.ts',
testEnvironment: 'node',
resetMocks: true,
transform: {
'^.+\\.(js|ts)$': 'ts-jest',
},
verbose: undefined,
}