1 | module.exports = {
|
2 | roots: ['<rootDir>/test'],
|
3 | testRegex: 'test/(.+)\\.test\\.(js?|ts?)$',
|
4 | transform: {
|
5 | '^.+\\.(css|less)$': '<rootDir>/test/helpers/styleMock.js',
|
6 | '^.+\\.ts?$': 'ts-jest',
|
7 | },
|
8 | moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
|
9 | moduleNameMapper: {
|
10 | '^@/(.*)$': '<rootDir>/src/unit/$1',
|
11 | },
|
12 | collectCoverageFrom: ['src/**/*.ts', 'src/**/*.js'],
|
13 | setupFilesAfterEnv: ['./test/setup/index.ts']
|
14 | }
|
15 |
|