mirror of
https://github.com/bendtherules/react-to-markdown.git
synced 2026-08-18 22:03:20 +00:00
renderer-spec - Test blockquote with mixed text
This commit is contained in:
@@ -166,3 +166,12 @@ test('should render blockquote with plain text', () => {
|
||||
);
|
||||
});
|
||||
|
||||
test('should render blockquote with mixed text', () => {
|
||||
expect(
|
||||
(render(
|
||||
<blockquote>
|
||||
<p>This is <em>hello</em> <strong>world</strong></p>
|
||||
</blockquote>
|
||||
) as string).trim()
|
||||
).toBe('> This is _hello_ **world**');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user