From 52523e014babb3092bb4b5b903bf74ae66674e14 Mon Sep 17 00:00:00 2001 From: bendtherules Date: Sat, 21 Dec 2019 15:10:25 +0530 Subject: [PATCH] renderer-spec - Format --- __tests__/renderer-spec.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/__tests__/renderer-spec.tsx b/__tests__/renderer-spec.tsx index 9383db7..ed6096f 100644 --- a/__tests__/renderer-spec.tsx +++ b/__tests__/renderer-spec.tsx @@ -67,5 +67,11 @@ test('should render plain em with text', () => { }); test('should render H1 with mixed strong and em text', () => { - expect((render(

This is Hello World

) as string).trim()).toBe('# This is **Hello** _World_'); + expect( + (render( +

+ This is Hello World +

+ ) as string).trim() + ).toBe('# This is **Hello** _World_'); });