You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
479 B
16 lines
479 B
module.exports = {
|
|
roots: ['<rootDir>/test'],
|
|
testRegex: 'test/(.+)\\.test\\.(js?|ts?)$',
|
|
transform: {
|
|
'^.+\\.(css|less)$': '<rootDir>/test/helpers/styleMock.js',
|
|
'^.+\\.ts?$': 'ts-jest',
|
|
},
|
|
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
|
|
moduleNameMapper: {
|
|
'^@/(.*)$': '<rootDir>/src/unit/$1',
|
|
},
|
|
collectCoverageFrom: ['src/**/*.ts', 'src/**/*.js'],
|
|
setupFilesAfterEnv: ['./test/setup/index.ts']
|
|
}
|
|
|