From 1ebfdb78c342fd525350b1d27fc4a87b88a70086 Mon Sep 17 00:00:00 2001 From: Conduitry Date: Wed, 16 Oct 2019 14:56:28 -0400 Subject: [PATCH] add destructuring-between-exports test against regression (#3628) --- .../samples/destructuring-between-exports/_config.js | 8 ++++++++ .../samples/destructuring-between-exports/main.svelte | 7 +++++++ 2 files changed, 15 insertions(+) create mode 100644 test/runtime/samples/destructuring-between-exports/_config.js create mode 100644 test/runtime/samples/destructuring-between-exports/main.svelte diff --git a/test/runtime/samples/destructuring-between-exports/_config.js b/test/runtime/samples/destructuring-between-exports/_config.js new file mode 100644 index 0000000000..56061f510f --- /dev/null +++ b/test/runtime/samples/destructuring-between-exports/_config.js @@ -0,0 +1,8 @@ +export default { + props: { + foo: { bar: 42 } + }, + html: ` +

42

+ ` +}; \ No newline at end of file diff --git a/test/runtime/samples/destructuring-between-exports/main.svelte b/test/runtime/samples/destructuring-between-exports/main.svelte new file mode 100644 index 0000000000..17cc8dc17d --- /dev/null +++ b/test/runtime/samples/destructuring-between-exports/main.svelte @@ -0,0 +1,7 @@ + + +

{bar}

\ No newline at end of file