diff --git a/code/server/jest.config.js b/code/server/jest.config.js index b186f5f2..47cdc085 100644 --- a/code/server/jest.config.js +++ b/code/server/jest.config.js @@ -4,6 +4,8 @@ const { pathsToModuleNameMapper } = require('ts-jest'); module.exports = { preset: 'ts-jest', testEnvironment: 'node', - transform: {}, + transform: { + '^.+\\.ts$': 'ts-jest', + }, moduleNameMapper: pathsToModuleNameMapper({ '@src/*': ['./src/*'] }, { prefix: '/' }), }; \ No newline at end of file