From 0a8aff6ba0bff90fdbac19d135e63d1c507bfbdf Mon Sep 17 00:00:00 2001 From: bendtherules Date: Sun, 22 Dec 2019 00:14:48 +0530 Subject: [PATCH] renderer-spec - Test blockquote with mixed text --- __tests__/renderer-spec.tsx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/__tests__/renderer-spec.tsx b/__tests__/renderer-spec.tsx index caaf5c3..0c320b0 100644 --- a/__tests__/renderer-spec.tsx +++ b/__tests__/renderer-spec.tsx @@ -166,3 +166,12 @@ test('should render blockquote with plain text', () => { ); }); +test('should render blockquote with mixed text', () => { + expect( + (render( +
+

This is hello world

+
+ ) as string).trim() + ).toBe('> This is _hello_ **world**'); +});