@@ -0,0 +1,14 @@
|
||||
/** @type {import('ts-jest').JestConfigWithTsJest} */
|
||||
module.exports = {
|
||||
preset: 'ts-jest',
|
||||
testEnvironment: 'node',
|
||||
rootDir: '.',
|
||||
roots: ['<rootDir>/src'],
|
||||
testRegex: '.*\\.spec\\.ts$',
|
||||
moduleNameMapper: {
|
||||
'^@artveris/shared$': '<rootDir>/../../packages/shared/src/index.ts',
|
||||
},
|
||||
transform: {
|
||||
'^.+\\.ts$': ['ts-jest', { tsconfig: { esModuleInterop: true } }],
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user