Skip to content

Commit 89c2d60

Browse files
committed
test: fix test
1 parent f417da1 commit 89c2d60

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/lib/rules/require-scoped.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,16 @@ tester.run("require-scoped", rule as any, {
106106
column: 25,
107107
endLine: 4,
108108
endColumn: 34,
109+
suggestions: [
110+
{
111+
desc: "Add `scoped` attribute.",
112+
output: `
113+
<script>
114+
</script>
115+
<style scoped/>
116+
`,
117+
},
118+
],
109119
},
110120
],
111121
},

0 commit comments

Comments
 (0)