Skip to content

Commit b1a7972

Browse files
authored
improve tests for template no let rule (#1976)
1 parent bb8a399 commit b1a7972

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/lib/rules/template-no-let-reference.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,17 @@ ruleTester.run('template-no-let-reference', rule, {
1717
valid: [
1818
`
1919
const a = '';
20+
function create(d) {
2021
<template>
22+
<Abc as |x a|>
23+
{{x}}
24+
{{a}}
25+
</Abc>
2126
{{a}}
27+
{{d}}
28+
{{this.f}}
2229
</template>
30+
}
2331
`,
2432
`
2533
const a = '';

0 commit comments

Comments
 (0)