Skip to content

Commit 21ff1f5

Browse files
committed
module mapping
1 parent e5499e3 commit 21ff1f5

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

jest.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ module.exports = {
44
testEnvironment: "node",
55
testMatch: ["**/tests/**/*.spec.ts"],
66
moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"],
7+
moduleNameMapper: {
8+
"^@microsoft/durabletask-js$": "<rootDir>/packages/durabletask-js/src",
9+
"^@microsoft/durabletask-js-azuremanaged$": "<rootDir>/packages/durabletask-js-azuremanaged/src",
10+
},
711
transform: {
812
"^.+\\.tsx?$": [
913
"ts-jest",

0 commit comments

Comments
 (0)