Skip to content

Commit fb38637

Browse files
committed
tests pass
1 parent aa9e027 commit fb38637

2 files changed

Lines changed: 2 additions & 22 deletions

File tree

tests/lib/rules/template-no-autofocus-attribute.js

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -95,26 +95,6 @@ ruleTester.run('template-no-autofocus-attribute', rule, {
9595
},
9696
],
9797
},
98-
{
99-
code: '<template>{{input type="text" autofocus=true}}</template>',
100-
output: null,
101-
errors: [
102-
{
103-
message:
104-
'Avoid using autofocus attribute. Autofocusing elements can cause usability issues for sighted and non-sighted users.',
105-
},
106-
],
107-
},
108-
{
109-
code: '<template>{{component "input" type="text" autofocus=true}}</template>',
110-
output: null,
111-
errors: [
112-
{
113-
message:
114-
'Avoid using autofocus attribute. Autofocusing elements can cause usability issues for sighted and non-sighted users.',
115-
},
116-
],
117-
},
11898
{
11999
code: '<template><div autofocus="true"></div></template>',
120100
output: '<template><div></div></template>',

tests/lib/rules/template-no-chained-this.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ ruleTester.run('template-no-chained-this', rule, {
3434
},
3535
{
3636
code: '<template><this.this.Component /></template>',
37-
output: null,
37+
output: '<template><this.Component /></template>',
3838
errors: [{ messageId: 'noChainedThis' }],
3939
},
4040
{
4141
code: '<template>{{#this.this.value}}woo{{/this.this.value}}</template>',
42-
output: null,
42+
output: '<template>{{#this.value}}woo{{/this.value}}</template>',
4343
errors: [{ messageId: 'noChainedThis' }],
4444
},
4545
{

0 commit comments

Comments
 (0)