Skip to content

Commit

Permalink
fix: path mapper for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeCap08055 committed Jul 31, 2024
1 parent 221d8aa commit 6d467f5
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion services/content-publishing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,14 @@
"<rootDir>/libs/"
],
"moduleNameMapper": {
"^@content-publishing-common(|/.*)$": "<rootDir>/libs/common/src/$1"
"^@content-publishing-common(|/.*)$": "<rootDir>/libs/common/src/$1",
"^#libs(|/.*)$": "<rootDir>/libs/common/src/$1",
"^#libs/blockchain(|/.*)$": "<rootDir>/libs/common/src/blockchain/$1",
"^#libs/config(|/.*)$": "<rootDir>/libs/common/src/config/$1",
"^#libs/dtos(|/.*)$": "<rootDir>/libs/common/src/dtos/$1",
"^#libs/interfaces(|/.*)$": "<rootDir>/libs/common/src/interfaces/$1",
"^#libs/queues(|/.*)$": "<rootDir>/libs/common/src/queues/$1",
"^#libs/utils(|/.*)$": "<rootDir>/libs/common/src/utils/$1"
}
}
}

0 comments on commit 6d467f5

Please sign in to comment.