Update jest.config.js
This commit is contained in:
parent
78c8631233
commit
4ba41cc4c4
1 changed files with 2 additions and 0 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue