Skip to content

Commit 812d7fb

Browse files
committed
chore: add test
1 parent be7ddf4 commit 812d7fb

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import { test } from '../../test';
2+
3+
export default test({
4+
compileOptions: {
5+
dev: true
6+
},
7+
recover: true,
8+
mode: ['client']
9+
});
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<script lang="ts">
2+
import { writable } from 'svelte/store';
3+
const store = writable(0);
4+
5+
async function logStore() {
6+
console.log($store)
7+
store.set(100);
8+
}
9+
</script>
10+
11+
<button onclick={logStore}>Click me</button>

0 commit comments

Comments
 (0)