0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-23 20:33:16 -05:00
logto/packages/core/jest.config.js

15 lines
333 B
JavaScript
Raw Normal View History

2021-08-20 01:53:23 -05:00
/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
setupFilesAfterEnv: ['jest-matcher-specific-error'],
2021-08-20 01:53:23 -05:00
globals: {
'ts-jest': {
tsconfig: 'tsconfig.test.json',
},
},
2021-08-29 22:30:54 -05:00
moduleNameMapper: {
'^@/(.*)$': '<rootDir>/src/$1',
},
2021-08-20 01:53:23 -05:00
};