Skip to content

Commit 5384943

Browse files
committed
more curly tests
1 parent 8260dd1 commit 5384943

9 files changed

Lines changed: 14 additions & 113 deletions

transforms/no-implicit-this/__testfixtures__/-mock-telemetry.json

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,9 @@
11
{
22
"some-component": { "type": "Component" },
33
"my-component": { "type": "Component" },
4-
"oneword": { "type": "Component" },
54
"block-component": { "type": "Component" },
6-
"varisalsoacomponent": { "type": "Component" },
75
"foo": { "type": "Component" },
86
"namespace/foo": { "type": "Component" },
9-
"panel": { "type": "Component" },
10-
"glimmer-vm-sample.input": {
11-
"type": "Component",
12-
"computedProperties": [
13-
"foo", "model", "color", "bar", "x", "active",
14-
"foos"
15-
]
16-
},
177
"built-in-helpers.input": {
188
"type": "Component",
199
"computedProperties": ["foo", "records"],
@@ -39,10 +29,7 @@
3929
},
4030
"my-helper": { "type": "Helper" },
4131
"a-helper": { "type": "Helper" },
42-
"unescaped": { "type": "Helper" },
43-
"someting": { "type": "Helper" },
4432
"link-to": { "type": "Helper" },
45-
"full-name": { "type": "Helper" },
4633
"action": { "type": "Helper" },
4734
"concat": { "type": "Helper" },
4835
"each": { "type": "Helper" },

transforms/no-implicit-this/__testfixtures__/built-in-helpers.input.hbs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,5 @@
1717

1818
<button {{on 'click' myAction}}>Action</button>
1919
<button {{on 'click' (fn myAction foo)}}>Action</button>
20+
21+
{{link-to 'name' 'route'}}

transforms/no-implicit-this/__testfixtures__/built-in-helpers.output.hbs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,5 @@
1717

1818
<button {{on 'click' this.myAction}}>Action</button>
1919
<button {{on 'click' (fn this.myAction this.foo)}}>Action</button>
20+
21+
{{link-to 'name' 'route'}}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<!-- foo -->
2+
<div {{!-- foo --}}></div>
3+
<div>{{!-- foo bar --}}<b></b></div>
4+
{{!-- {{foo-bar}} --}}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<!-- foo -->
2+
<div {{!-- foo --}}></div>
3+
<div>{{!-- foo bar --}}<b></b></div>
4+
{{!-- {{foo-bar}} --}}

transforms/no-implicit-this/__testfixtures__/glimmer-vm-sample.input.hbs

Lines changed: 0 additions & 50 deletions
This file was deleted.

transforms/no-implicit-this/__testfixtures__/glimmer-vm-sample.output.hbs

Lines changed: 0 additions & 50 deletions
This file was deleted.

transforms/no-implicit-this/__testfixtures__/handlebars-without-params.input.hbs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
{{a-helper}}
33
{{foo}}
44
{{property}}
5+
{{namespace/foo}}

transforms/no-implicit-this/__testfixtures__/handlebars-without-params.output.hbs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
{{a-helper}}
33
{{this.foo}}
44
{{this.property}}
5+
{{namespace/foo}}

0 commit comments

Comments
 (0)