diff --git a/test/runtime/samples/prop-subscribable/_config.js b/test/runtime/samples/prop-subscribable/_config.js new file mode 100644 index 0000000000..69f8104fab --- /dev/null +++ b/test/runtime/samples/prop-subscribable/_config.js @@ -0,0 +1,11 @@ +import { writable } from '../../../../store.js'; + +export default { + props: { + b: writable(42) + }, + + html: ` + 42 + ` +}; \ No newline at end of file diff --git a/test/runtime/samples/prop-subscribable/main.svelte b/test/runtime/samples/prop-subscribable/main.svelte new file mode 100644 index 0000000000..6721635efd --- /dev/null +++ b/test/runtime/samples/prop-subscribable/main.svelte @@ -0,0 +1,7 @@ +<script> + export let a; + export let b; + export let c; +</script> + +{$b} \ No newline at end of file