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
…#80)

* react-markdown: Upgrade to version 8.0.7 to be compatible with rollup

J=CLIP-1321
TEST=manual|auto

Ran `npm run test` and `npm run build` to ensure no errors

* react-markdown: Upgrade to version 8.0.7 to be compatible with rollup

J=CLIP-1321
TEST=manual|auto

Ran `npm run test` and `npm run build` to ensure no errors

* git preact-markdown: Upgrade to version 8.0.7 to be compatible with rollup

J=CLIP-1321
TEST=manual|auto

Ran `npm run test` and `npm run build` to ensure no errors

* react-markdown: Upgrade to version 8.0.7 to be compatible with rollup

J=CLIP-1321
TEST=manual|auto

Ran `npm run test` and `npm run build` to ensure no errors

* react-markdown: Upgrade to version 8.0.7 to be compatible with rollup

J=CLIP-1321
TEST=manual|auto

Ran `npm run test` and `npm run build` to ensure no errors

* react-markdown: Upgrade to version 8.0.7 to be compatible with rollup

J=CLIP-1321
TEST=manual|auto

Ran `npm run test` and `npm run build` to ensure no errors
  • Loading branch information
YextSLu authored Jul 9, 2024
1 parent bbccc6c commit 7178d48
Show file tree
Hide file tree
Showing 5 changed files with 888 additions and 156 deletions.
4 changes: 3 additions & 1 deletion jest.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
"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 throws syntax errors (ESM-related). This helps import the .js file directory without issue
"react-markdown": "<rootDir>/node_modules/react-markdown/react-markdown.min.js"
},
"setupFilesAfterEnv": ["<rootDir>/tests/__setup__/setup.js"]
}
Loading

0 comments on commit 7178d48

Please sign in to comment.