mirror of
https://github.com/twentyhq/twenty.git
synced 2024-11-23 05:53:31 +03:00
23 lines
540 B
TypeScript
23 lines
540 B
TypeScript
module.exports = {
|
|
// to enable logs, comment out the following line
|
|
silent: true,
|
|
clearMocks: true,
|
|
preset: 'ts-jest',
|
|
testEnvironment: 'node',
|
|
modulePathIgnorePatterns: ['<rootDir>/dist'],
|
|
moduleFileExtensions: ['js', 'json', 'ts'],
|
|
moduleNameMapper: {
|
|
'^src/(.*)': '<rootDir>/src/$1',
|
|
},
|
|
rootDir: './',
|
|
testRegex: '.*\\.spec\\.ts$',
|
|
transform: {
|
|
'^.+\\.(t|j)s$': 'ts-jest',
|
|
},
|
|
fakeTimers: {
|
|
enableGlobally: true,
|
|
},
|
|
collectCoverageFrom: ['**/*.(t|j)s'],
|
|
coverageDirectory: '../coverage',
|
|
};
|