mirror of
https://github.com/twentyhq/twenty.git
synced 2024-11-29 10:13:05 +03:00
b179d1f1f0
* feat: wip casl policies * feat: add ability guard on pipeline resolvers * fix: test
19 lines
465 B
TypeScript
19 lines
465 B
TypeScript
module.exports = {
|
|
clearMocks: true,
|
|
preset: 'ts-jest',
|
|
testEnvironment: 'node',
|
|
setupFilesAfterEnv: ['<rootDir>/src/database/client-mock/jest-prisma-singleton.ts'],
|
|
|
|
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',
|
|
};
|