You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Hydro/jest.config.js

23 lines
499 B
JavaScript

module.exports = {
globals: {
'ts-jest': {
diagnostics: {
warnOnly: true,
},
},
},
preset: 'ts-jest',
testEnvironment: 'node',
moduleFileExtensions: ['ts', 'js', 'json'],
moduleNameMapper: {
'[\\w-]+': '<rootDir>/packages/$0/src',
},
coverageProvider: 'v8',
coverageReporters: ['text', 'lcov'],
coveragePathIgnorePatterns: [
'node_modules/',
'tests/',
'dist/',
],
};