forked from alibaba/lowcode-engine
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjest.config.js
More file actions
20 lines (19 loc) · 440 Bytes
/
jest.config.js
File metadata and controls
20 lines (19 loc) · 440 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
module.exports = {
transform: {
'^.+\\.(ts|tsx|js|jsx)$': 'ts-jest',
},
testEnvironment: 'node',
// testMatch: ['(/tests?/.*(test))\\.[jt]s$'],
testTimeout: 1000000,
testPathIgnorePatterns: [
'/node_modules/',
'test/fixtures',
],
moduleFileExtensions: ['ts', 'tsx', 'js', 'json'],
collectCoverage: true,
collectCoverageFrom: [
'src/**/*.{ts,tsx}',
'!**/node_modules/**',
'!**/vendor/**',
],
};