From a10f44d2c478e803a3473e5888fc1f8c8a68f77c Mon Sep 17 00:00:00 2001 From: Luke John Date: Mon, 8 Jan 2018 10:39:20 +0800 Subject: [PATCH] chore(typescript): add tests for null and false children --- test/glamorous.test.tsx | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/test/glamorous.test.tsx b/test/glamorous.test.tsx index cb63e9f5..c72e3b1b 100644 --- a/test/glamorous.test.tsx +++ b/test/glamorous.test.tsx @@ -564,3 +564,19 @@ const BuiltinStyledWithMultipleChild: JSX.Element = ( world! ); + +const BuiltinStyledWithPrimitivesChildren: JSX.Element = ( + + {null} + {false} + {true} + {undefined} + {5} + +); + +const BuiltinStyledWithFragment: JSX.Element = ( + + + +); \ No newline at end of file