mirror of
https://github.com/bendtherules/react-to-markdown.git
synced 2026-08-18 13:53:11 +00:00
renderer-spec - Fix br tag test
This commit is contained in:
@@ -234,9 +234,7 @@ test('should render break (br)', () => {
|
||||
expect(
|
||||
(render(
|
||||
<p>
|
||||
text 1
|
||||
<br />
|
||||
text 2
|
||||
text 1<br/>text 2
|
||||
</p>
|
||||
) as string).trim()
|
||||
).toBe('text 1 \ntext 2');
|
||||
|
||||
Reference in New Issue
Block a user