From 659858e344c9c21fa1065676e847d0c34e2ff390 Mon Sep 17 00:00:00 2001 From: Ricardo Costa Date: Mon, 25 Mar 2024 17:06:55 +0000 Subject: [PATCH] Update jest.config.js --- code/server/jest.config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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