mirror of https://github.com/astrit/css.gg.git
23 lines
526 B
JavaScript
23 lines
526 B
JavaScript
module.exports = {
|
|
cacheDirectory: './jest/cache',
|
|
collectCoverage: true,
|
|
collectCoverageFrom: ['src/**/*'],
|
|
coverageDirectory: './jest/coverage',
|
|
preset: 'ts-jest',
|
|
resetMocks: true,
|
|
resetModules: true,
|
|
restoreMocks: true,
|
|
globals: {
|
|
'ts-jest': {
|
|
diagnostics: false,
|
|
},
|
|
},
|
|
moduleNameMapper: {
|
|
'@/(.*)': '<rootDir>/src/$1',
|
|
},
|
|
roots: ['<rootDir>/test'],
|
|
moduleFileExtensions: ['js', 'json', 'jsx', 'ts', 'tsx', 'node'],
|
|
testRegex: '/test/.+\\.test\\.tsx?$',
|
|
verbose: false,
|
|
}
|