diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/__mocks__/react-markdown.tsx | 12 |
1 files changed, 12 insertions, 0 deletions
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<ReactMarkdownProps> = ({ children }) => { + return <div data-testid="react-markdown">{children}</div>; +}; + +export default ReactMarkdown; |