Skip to content

Commit 9b77fda

Browse files
committed
Add module resolution to root jest config.
1 parent 9871e2f commit 9b77fda

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

jest.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ module.exports = {
3636
"^default-shell$": "<rootDir>/src/__mocks__/default-shell.js",
3737
"^os-name$": "<rootDir>/src/__mocks__/os-name.js",
3838
"^strip-bom$": "<rootDir>/src/__mocks__/strip-bom.js",
39+
"^@roo/(.*)$": "<rootDir>/src/$1",
40+
"^@src/(.*)$": "<rootDir>/webview-ui/src/$1",
3941
},
4042
transformIgnorePatterns: [
4143
"node_modules/(?!(@modelcontextprotocol|delay|p-wait-for|serialize-error|strip-ansi|default-shell|os-name|strip-bom)/)",

0 commit comments

Comments
 (0)