renderer-spec - Fix workaround comment

This commit is contained in:
2019-12-16 09:13:04 +05:30
parent c75171de7b
commit 2810b1907c
+1 -1
View File
@@ -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)