Skip to content

Instantly share code, notes, and snippets.

@serhii-havrylenko
Created October 28, 2018 13:54
Show Gist options
  • Save serhii-havrylenko/0eb9a855a9911f5781c3649009a7ac87 to your computer and use it in GitHub Desktop.
Save serhii-havrylenko/0eb9a855a9911f5781c3649009a7ac87 to your computer and use it in GitHub Desktop.
module.exports = {
clearMocks: true,
coverageDirectory: 'coverage',
coverageReporters: ['text', 'clover'],
coverageThreshold: {
global: {
branches: 80,
functions: 80,
lines: 80,
statements: 80,
},
},
globals: {
'ts-jest': {
extends: './babel.config.js',
},
},
moduleFileExtensions: ['ts', 'tsx', 'js'],
notify: true,
notifyMode: 'always',
roots: ['<rootDir>packages'],
testMatch: ['**/__tests__/*.+(ts|tsx|js)', '**/*.test.+(ts|tsx|js)'],
transform: {
'^.+\\.(ts|tsx)$': 'ts-jest',
},
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment