Skip to content

Commit

Permalink
fix: tests failed because axios and react-markdown lib errors
Browse files Browse the repository at this point in the history
  • Loading branch information
bra-i-am committed Jul 25, 2024
1 parent ff19b50 commit 7f77e28
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,8 @@ module.exports = createConfig('jest', {
'src/setupTest.js',
'src/i18n',
],
// see https://github.com/axios/axios/issues/5026
moduleNameMapper: {
"^axios$": "axios/dist/axios.js",
},
});

0 comments on commit 7f77e28

Please sign in to comment.