-
Notifications
You must be signed in to change notification settings - Fork 115
/
jest.config.js
30 lines (30 loc) · 992 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
module.exports = {
testTimeout: 60e3,
maxWorkers: 3,
preset: 'ts-jest',
testEnvironment: 'node',
collectCoverage: false,
testMatch: ['**/?(*.)+(spec|test).[tj]s?(x)'],
transform: {
'^.+\\.ts$': 'ts-jest',
},
collectCoverageFrom: [
'<rootDir>/packages/*/src/**/*.[jt]s',
],
moduleNameMapper: {
'^header-generator$': '<rootDir>/packages/header-generator/src',
'^fingerprint-generator$': '<rootDir>/packages/fingerprint-generator/src',
'^fingerprint-injector$': '<rootDir>/packages/fingerprint-injector/src',
"^generative-bayesian-network$": ["<rootDir>/packages/generative-bayesian-network/src"],
"^generator-networks-creator$": ["<rootDir>/packages/generator-networks-creator/src"],
},
modulePathIgnorePatterns: [
'dist/package.json',
'<rootDir>/package.json',
],
globals: {
'ts-jest': {
tsconfig: 'test/tsconfig.json',
},
},
};