diff --git a/test/runtime/samples/var-store-destructured-in-do-while/_config.js b/test/runtime/samples/var-store-destructured-in-do-while/_config.js new file mode 100644 index 0000000000..2f1e16b80c --- /dev/null +++ b/test/runtime/samples/var-store-destructured-in-do-while/_config.js @@ -0,0 +1,3 @@ +export default { + html: '
3
5
4
' +}; diff --git a/test/runtime/samples/var-store-destructured-in-do-while/main.svelte b/test/runtime/samples/var-store-destructured-in-do-while/main.svelte new file mode 100644 index 0000000000..95dd38cffe --- /dev/null +++ b/test/runtime/samples/var-store-destructured-in-do-while/main.svelte @@ -0,0 +1,19 @@ + + +{x}
+{y}
+{z}
diff --git a/test/runtime/samples/var-store-destructured-in-if/_config.js b/test/runtime/samples/var-store-destructured-in-if/_config.js new file mode 100644 index 0000000000..2f1e16b80c --- /dev/null +++ b/test/runtime/samples/var-store-destructured-in-if/_config.js @@ -0,0 +1,3 @@ +export default { + html: '3
5
4
' +}; diff --git a/test/runtime/samples/var-store-destructured-in-if/main.svelte b/test/runtime/samples/var-store-destructured-in-if/main.svelte new file mode 100644 index 0000000000..ab7d6d110e --- /dev/null +++ b/test/runtime/samples/var-store-destructured-in-if/main.svelte @@ -0,0 +1,20 @@ + + +{x}
+{y}
+{z}