From 2810b1907ca2dbb18e5b8260ab7e741b659785af Mon Sep 17 00:00:00 2001 From: bendtherules Date: Mon, 16 Dec 2019 09:13:04 +0530 Subject: [PATCH] renderer-spec - Fix workaround comment --- __tests__/renderer-spec.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__tests__/renderer-spec.tsx b/__tests__/renderer-spec.tsx index 237e2b3..b3d7e2d 100644 --- a/__tests__/renderer-spec.tsx +++ b/__tests__/renderer-spec.tsx @@ -20,7 +20,7 @@ test('should render plain text with simple Function Component', () => { return 'abcd'; } - // Note: Rendering string from JSX shows TS error (https://github.com/DefinitelyTyped/DefinitelyTyped/issues/20544). This is a workaround. + // Note: Rendering string from function comp shows TS error (https://github.com/DefinitelyTyped/DefinitelyTyped/issues/20544). This is a workaround. expect( (render( React.createElement((TestComponent as unknown) as React.FunctionComponent)