12345678910111213141516171819 |
- module.exports = {
- coverageDirectory: '<rootDir>/@coverage',
- globals: {
- 'ts-jest': {
- tsConfig: 'tsconfig.test.json'
- }
- },
- moduleFileExtensions: ['js', 'ts', 'tsx'],
- moduleNameMapper: {
- '\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$':
- './fileMock.js',
- '\\.(scss|css|less)$': './styleMock.js'
- },
- rootDir: '../../',
- testRegex: '/__test__/.+\\.(test|spec)\\.tsx?$',
- transform: { '^.+\\.tsx?$': 'ts-jest' },
- verbose: true
- };
|