Skip to content

Commit b69ba52

Browse files
committed
add test
1 parent 088eeaf commit b69ba52

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-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 // Render in dev mode to check that the validation error is not thrown
6+
},
7+
html: `<form></form>\nundefined`
8+
});
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<script>
2+
let thisBug;
3+
</script>
4+
5+
<form bind:this={thisBug}>
6+
{#snippet Bug()}
7+
cool
8+
{/snippet}
9+
</form>
10+
11+
{typeof thisBug}

0 commit comments

Comments
 (0)