UNPKG

@highflying/jest-module-name-mapper

Version:

Synchronization tsconfig paths with Jest (module name mapper)

19 lines (18 loc) 312 B
module.exports = { transform: { '^.+\\.tsx?$': 'ts-jest' }, testEnvironment: 'node', testMatch: ['**/*.spec.ts'], moduleFileExtensions: [ 'ts', 'js', 'json' ], globals: { 'ts-jest': { tsConfigFile: './tsconfig.json', } }, moduleNameMapper: require('./dist')(), };