renderer-spec - Fix br tag test

This commit is contained in:
2019-12-23 11:22:33 +05:30
parent bd7a66645f
commit 495d535300
+2 -4
View File
@@ -234,12 +234,10 @@ 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');
).toBe('text 1 \ntext 2');
});
test('should render strike (strike, s, del)', () => {