forked from sensedeep/dynamodb-onetable
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jest.config.js
38 lines (38 loc) · 848 Bytes
/
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
/*
Jest configuration
*/
module.exports = {
"coveragePathIgnorePatterns": [
"node_modules",
"test/utils"
],
coverageDirectory: "coverage",
globals: {
'ts-jest': {
useESM: true
},
__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/*"
],
globalSetup: '<rootDir>/test/utils/setup.ts',
globalTeardown: '<rootDir>/test/utils/teardown.ts',
testEnvironment: "node",
resetMocks: true,
transform: {
'^.+\\.(js|ts)$': 'ts-jest'
},
verbose: undefined
// setupFiles: ['<rootDir>/test/utils/helpers.ts'],
};