pertain
Version:
Automated pub/sub across project dependencies. Run code from any installed package based on declarative rules in package.json
20 lines (19 loc) • 504 B
JavaScript
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
verbose: true,
bail: true,
collectCoverage: true,
collectCoverageFrom: ['./src/*.ts', '!./src/**/index.ts'],
coverageThreshold: {
global: {
branches: 100,
functions: 100,
lines: 100
}
},
moduleFileExtensions: ['ts', 'tsx', 'js', 'json', 'jsx', 'node'],
moduleDirectories: ['node_modules', 'src/__tests__/__fixtures__'],
testMatch: ['**/__tests__/*.ts'],
testPathIgnorePatterns: ['.d.ts']
};