renderer-spec - Fix br tag test

This commit is contained in:
2019-12-23 11:22:33 +05:30
parent bd7a66645f
commit 495d535300
+1 -3
View File
@@ -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');