mirror of
https://github.com/twentyhq/twenty.git
synced 2024-11-23 22:12:24 +03:00
18 lines
378 B
TypeScript
18 lines
378 B
TypeScript
|
module.exports = {
|
||
|
clearMocks: true,
|
||
|
preset: 'ts-jest',
|
||
|
testEnvironment: 'node',
|
||
|
|
||
|
moduleFileExtensions: ['js', 'json', 'ts'],
|
||
|
moduleNameMapper: {
|
||
|
'^src/(.*)': '<rootDir>/src/$1',
|
||
|
},
|
||
|
rootDir: './',
|
||
|
testRegex: '.*\\.spec\\.ts$',
|
||
|
transform: {
|
||
|
'^.+\\.(t|j)s$': 'ts-jest',
|
||
|
},
|
||
|
collectCoverageFrom: ['**/*.(t|j)s'],
|
||
|
coverageDirectory: '../coverage',
|
||
|
};
|