Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
Conduitry committed Apr 23, 2019
1 parent 51f2a3b commit 356a1eb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/runtime/samples/reactive-value-mutate/_config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export default {
html: `{"bar":42}`
};
7 changes: 7 additions & 0 deletions test/runtime/samples/reactive-value-mutate/main.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<script>
let foo = {};
let bar = 42;
$: foo.bar = bar;
</script>

{JSON.stringify(foo)}

0 comments on commit 356a1eb

Please sign in to comment.