From 9d90e35d51555d9f853f2eccfa771f47d71a6bc1 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Tue, 4 Oct 2022 10:29:30 +0200 Subject: Refactor to share a test utility --- tests/test_utils/to_swc.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'tests/test_utils/to_swc.rs') diff --git a/tests/test_utils/to_swc.rs b/tests/test_utils/to_swc.rs index 59d60ee..6ed48b6 100644 --- a/tests/test_utils/to_swc.rs +++ b/tests/test_utils/to_swc.rs @@ -379,8 +379,6 @@ fn transform_root( } } - // To do: remove whitespace? - // To do: return a single child if there is one? Ok(Some(swc_ecma_ast::JSXElementChild::JSXFragment( create_fragment(nodes, node), ))) -- cgit