Skip to content

Commit

Permalink
chore: add test case for #14853
Browse files Browse the repository at this point in the history
  • Loading branch information
paoloricciuti committed Dec 29, 2024
1 parent ba9b56b commit 35c8f6d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { test } from '../../test';

export default test({
compileOptions: {
dev: true
},
test() {}
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<script>
let count = $state(null);
$effect(() => {
$inspect.trace();
count;
});
</script>

<button onclick={()=>count++}>{count}</button>

0 comments on commit 35c8f6d

Please sign in to comment.