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