Skip to content

Commit

Permalink
Merge pull request #13705 from j3rem1e/smoke-test-svelte
Browse files Browse the repository at this point in the history
Fixes smoke-test on svelte-kitchen-sink
  • Loading branch information
shilman committed Jan 22, 2021
2 parents 13e26b3 + 2c87b51 commit 76fc7a8
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@ exports[`Storyshots Args Table Args Table 1`] = `
class="storybook-snapshot-container"
>
<pre>
{}
{
"string": "string",
"number": 0,
"unionstr": "a",
"unionnumeric": 1,
"required": ""
}
</pre>

<div />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,21 @@
*/
dispatch('change', "some value");
}
$: preview = {
string,
number,
fun,
unionstr,
unionnumeric,
union,
required,
unknown,
}
</script>

<pre on:click={onClick}>{JSON.stringify($$props, null, ' ')}</pre>
<pre on:click={onClick}>{JSON.stringify(preview, null, ' ')}</pre>

<!--
User has clicked this element
Expand Down

0 comments on commit 76fc7a8

Please sign in to comment.