diff --git a/package.json b/package.json index 9c8785572b..9c6f3a705b 100644 --- a/package.json +++ b/package.json @@ -205,7 +205,9 @@ "\\$webapp/i18n/languages.json": "/node_modules/matrix-react-sdk/__mocks__/languages.json", "^browser-request$": "/node_modules/matrix-react-sdk/__mocks__/browser-request.js", "^react$": "/node_modules/react", - "^react-dom$": "/node_modules/react-dom" + "^react-dom$": "/node_modules/react-dom", + "^matrix-js-sdk$": "/node_modules/matrix-js-sdk/src", + "^matrix-react-sdk$": "/node_modules/matrix-react-sdk/src" }, "transformIgnorePatterns": [ "/node_modules/(?!matrix-js-sdk).+$",