From 26b3cd733412ce2d9df37a42204ce7242c4d9647 Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Fri, 8 Aug 2025 23:43:04 +0100 Subject: Mock react-markdown to fix jest issue --- src/__mocks__/react-markdown.tsx | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/__mocks__/react-markdown.tsx (limited to 'src/__mocks__/react-markdown.tsx') diff --git a/src/__mocks__/react-markdown.tsx b/src/__mocks__/react-markdown.tsx new file mode 100644 index 0000000..678cf61 --- /dev/null +++ b/src/__mocks__/react-markdown.tsx @@ -0,0 +1,12 @@ +import React from 'react'; + +interface ReactMarkdownProps { + children: string; + [key: string]: any; +} + +const ReactMarkdown: React.FC = ({ children }) => { + return
{children}
; +}; + +export default ReactMarkdown; -- cgit v1.2.3