Skip to content

Commit

Permalink
Update jest.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
R1c4rdCo5t4 committed Mar 25, 2024
1 parent 9b15b31 commit 659858e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion code/server/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: '<rootDir>/' }),
};

0 comments on commit 659858e

Please sign in to comment.