diff --git a/jest.config.js b/jest.config.js index 5fe954a..5f9384d 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,7 +1,10 @@ module.exports = { preset: 'ts-jest', testEnvironment: 'node', + moduleDirectories: ['node_modules', '.'], moduleNameMapper: { '@types': '/types', + '^@utils/(.*)$': '/utils/$1', + '^@components/(.*)$': '/components/$1' }, }