diff --git a/package.json b/package.json index 2397c8d5..9443705a 100644 --- a/package.json +++ b/package.json @@ -198,7 +198,8 @@ ], "moduleNameMapper": { "\\.(gif|png|svg|ttf|woff2)$": "/node_modules/matrix-react-sdk/__mocks__/imageMock.js", - "\\$webapp/i18n/languages.json": "/node_modules/matrix-react-sdk/__mocks__/languages.json" + "\\$webapp/i18n/languages.json": "/node_modules/matrix-react-sdk/__mocks__/languages.json", + "^browser-request$": "/node_modules/matrix-react-sdk/__mocks__/browser-request.js" }, "transformIgnorePatterns": [ "/node_modules/(?!matrix-js-sdk).+$",