forked from nektarai/zoom-api-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjest.config.js
More file actions
28 lines (28 loc) · 906 Bytes
/
Copy pathjest.config.js
File metadata and controls
28 lines (28 loc) · 906 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
module.exports = {
collectCoverage: true,
// coverageDirectory: 'coverage/backend',
// coverageProvider: 'babel',
// coverageReporters: ['json', 'text', 'lcov'],
moduleNameMapper: {
'^@root(.*)$': '<rootDir>$1',
},
rootDir: '.',
transform: {
'^.+\\.(tsx?)$': '@swc/jest',
},
transformIgnorePatterns: [],
testPathIgnorePatterns: [],
testMatch: ['<rootDir>/test/**/*.test.(ts|tsx)'],
// setupFilesAfterEnv: ['<rootDir>/test/setupAfterEnv.ts'],
// resolver: '<rootDir>/test/customResolver.js',
collectCoverageFrom: [
'<rootDir>/src/**/*.(ts|tsx)',
'<rootDir>/src/**/*.js',
],
verbose: true,
workerIdleMemoryLimit: '512M',
/* @Ashniu123 TEMP: Till we upgrade to jest 30
Issue: https://github.com/jestjs/jest/issues/14305
*/
prettierPath: '<rootDir>/node_modules/prettier2/index.js',
};