Skip to content

Commit

Permalink
feat: upgrade learning assistant library (openedx#1172)
Browse files Browse the repository at this point in the history
  • Loading branch information
alangsto authored Aug 28, 2023
1 parent 694e3ed commit 1dcde82
Show file tree
Hide file tree
Showing 3 changed files with 875 additions and 8 deletions.
4 changes: 3 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ module.exports = createConfig('jest', {
],
// see https://github.com/axios/axios/issues/5026
moduleNameMapper: {
"^axios$": "axios/dist/axios.js"
"^axios$": "axios/dist/axios.js",
// See https://stackoverflow.com/questions/72382316/jest-encountered-an-unexpected-token-react-markdown
'react-markdown': '<rootDir>/node_modules/react-markdown/react-markdown.min.js',
},
testTimeout: 30000,
testEnvironment: 'jsdom'
Expand Down
Loading

0 comments on commit 1dcde82

Please sign in to comment.