Skip to content

Commit 35c8f6d

Browse files
committed
chore: add test case for #14853
1 parent ba9b56b commit 35c8f6d

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import { test } from '../../test';
2+
3+
export default test({
4+
compileOptions: {
5+
dev: true
6+
},
7+
test() {}
8+
});
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<script>
2+
let count = $state(null);
3+
$effect(() => {
4+
$inspect.trace();
5+
count;
6+
});
7+
</script>
8+
9+
<button onclick={()=>count++}>{count}</button>

0 commit comments

Comments
 (0)