From 729d445b6885f69dd2c6355f38707bd42851c791 Mon Sep 17 00:00:00 2001 From: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> Date: Wed, 22 Jun 2022 23:21:48 -0700 Subject: change the directory structure --- test/bun.js/solid-dom-fixtures/fragments/code.js | 83 ++++++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 test/bun.js/solid-dom-fixtures/fragments/code.js (limited to 'test/bun.js/solid-dom-fixtures/fragments/code.js') diff --git a/test/bun.js/solid-dom-fixtures/fragments/code.js b/test/bun.js/solid-dom-fixtures/fragments/code.js new file mode 100644 index 000000000..0b6021e44 --- /dev/null +++ b/test/bun.js/solid-dom-fixtures/fragments/code.js @@ -0,0 +1,83 @@ +const multiStatic = ( + <> +
First
+
Last
+ +); + +const multiExpression = ( + <> +
First
+ {inserted} +
Last
+ After + +); + +const multiDynamic = ( + <> +
First
+ {state.inserted} +
Last
+ After + +); + +const singleExpression = <>{inserted}; + +const singleDynamic = <>{inserted()}; + +const firstStatic = ( + <> + {inserted} +
+ +); + +const firstDynamic = ( + <> + {inserted()} +
+ +); + +const firstComponent = ( + <> + +
+ +); + +const lastStatic = ( + <> +
+ {inserted} + +); + +const lastDynamic = ( + <> +
+ {inserted()} + +); + +const lastComponent = ( + <> +
+ + +); + +const spaces = ( + <> + 1 2 3 + +); +const multiLineTrailing = ( + <> + 1 + 2 + 3 + +); -- cgit v1.2.3