Skip to content

Commit

Permalink
react-markdown: Upgrade to version 8.0.7 to be compatible with rollup
Browse files Browse the repository at this point in the history
J=CLIP-1321
TEST=manual|auto

Ran `npm run test` and `npm run build` to ensure no errors
  • Loading branch information
YextSLu committed Jul 8, 2024
1 parent df345f4 commit d6ccea2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions jest.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@
"restoreMocks": true,
"clearMocks": true,
"testMatch": ["<rootDir>/tests/**/*.(test).ts(x)?"],
"$comment": "react-markdown throws syntax errors (ESM-related). This imports the .js file directory without issue",
"moduleNameMapper": {
"\\.(css|scss|less)$": "<rootDir>/tests/__utils__/style-mock.ts",
"react-markdown": "<rootDir>/node_modules/react-markdown/react-markdown.min.js"
},
"transformIgnorePatterns": ["/node_modules/(?!react-markdown)/react-markdown.min.js"],
"setupFilesAfterEnv": ["<rootDir>/tests/__setup__/setup.js"]
}

0 comments on commit d6ccea2

Please sign in to comment.