Skip to content

Commit

Permalink
Merge pull request #11954 from vector-im/travis/fix/tests/jest-resolve
Browse files Browse the repository at this point in the history
Force Jest to resolve the js-sdk and react-sdk to src directories
  • Loading branch information
turt2live authored Jan 20, 2020
2 parents be64e86 + 5b575d5 commit 3e324f6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,9 @@
"\\$webapp/i18n/languages.json": "<rootDir>/node_modules/matrix-react-sdk/__mocks__/languages.json",
"^browser-request$": "<rootDir>/node_modules/matrix-react-sdk/__mocks__/browser-request.js",
"^react$": "<rootDir>/node_modules/react",
"^react-dom$": "<rootDir>/node_modules/react-dom"
"^react-dom$": "<rootDir>/node_modules/react-dom",
"^matrix-js-sdk$": "<rootDir>/node_modules/matrix-js-sdk/src",
"^matrix-react-sdk$": "<rootDir>/node_modules/matrix-react-sdk/src"
},
"transformIgnorePatterns": [
"/node_modules/(?!matrix-js-sdk).+$",
Expand Down

0 comments on commit 3e324f6

Please sign in to comment.