You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
508 B
19 lines
508 B
module.exports = {
|
|
roots: ['<rootDir>/test'],
|
|
globals: {
|
|
'ts-jest': {
|
|
tsConfig: 'tsconfig.test.json'
|
|
}
|
|
},
|
|
transform: {
|
|
'^.+\\.tsx?$': 'ts-jest'
|
|
},
|
|
transformIgnorePatterns: ['node_modules'],
|
|
testEnvironment: 'node',
|
|
// https://github.com/facebook/jest/issues/5164
|
|
// globalSetup: './test/global-setup-hook.js',
|
|
// globalTeardown: './test/global-teardown-hook.js',
|
|
coverageReporters: ['json', 'lcov', 'clover', 'text-summary'],
|
|
coveragePathIgnorePatterns: ['/lib/']
|
|
}
|