Update jest.config.js

This commit is contained in:
Wouter Tichelaar 2024-11-26 13:51:36 +02:00 • committed by GitHub
parent 78c8631233
commit 4ba41cc4c4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,6 +8,8 @@ export default {
moduleNameMapper: {
"^(\\.{1,2}/.*)\\.js$": "$1",
"^uuid$": "uuid", // https://stackoverflow.com/a/73626360
'^@azure/(.*)$': '<rootDir>/node_modules/@azure/$1',
'^mssql$': '<rootDir>/node_modules/mssql'
},
extensionsToTreatAsEsm: [".ts"],
preset: "ts-jest/presets/default-esm",