add test for validating tag definition

pull/6898/head
baseballyama 4 years ago
parent 496501033c
commit 31573fd175

@ -0,0 +1,15 @@
[{
"code": "missing-element-definition",
"message": "<svelte:element> must have a 'this' attribute",
"start": {
"line": 2,
"column": 1,
"character": 7
},
"end": {
"line": 2,
"column": 1,
"character": 7
},
"pos": 7
}]

@ -0,0 +1,3 @@
<div>
<svelte:element>foo</svelte:element>
</div>
Loading…
Cancel
Save