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
Updated imports and config to support new version

J=CLIP-1321
TEST=auto|manual

Use `npm run test` to run test suite and check that `npm run build` returns no errors
Performed manual testing on test-site to ensure functionality remained the same
  • Loading branch information
YextSLu committed Jul 3, 2024
1 parent 081a065 commit 13941f1
Show file tree
Hide file tree
Showing 4 changed files with 885 additions and 153 deletions.
3 changes: 2 additions & 1 deletion jest.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"clearMocks": true,
"testMatch": ["<rootDir>/tests/**/*.(test).ts(x)?"],
"moduleNameMapper": {
"\\.(css|scss|less)$": "<rootDir>/tests/__utils__/style-mock.ts"
"\\.(css|scss|less)$": "<rootDir>/tests/__utils__/style-mock.ts",
"react-markdown": "<rootDir>/node_modules/react-markdown/react-markdown.min.js"
},
"setupFilesAfterEnv": ["<rootDir>/tests/__setup__/setup.js"]
}
Loading

0 comments on commit 13941f1

Please sign in to comment.