mirror of
https://github.com/twentyhq/twenty.git
synced 2024-11-27 01:05:08 +03:00
2c09096edd
* Refactor backend folder structure Co-authored-by: Charles Bochet <charles@twenty.com> * fix tests * fix * move yoga hooks --------- Co-authored-by: Charles Bochet <charles@twenty.com>
20 lines
493 B
TypeScript
20 lines
493 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',
|
|
},
|
|
collectCoverageFrom: ['**/*.(t|j)s'],
|
|
coverageDirectory: '../coverage',
|
|
};
|