Skip to content

Commit 9c53d1d

Browse files
committed
Fix runtime telemetry tests
IMPORTANT! Apparently the runtime telemetry doesn't work with glimmer components.
1 parent 4442511 commit 9c53d1d

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

test/fixtures/3.28/input/app/components/gherkyn.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{{! template-lint-disable no-implicit-this }}
22
{{! template-lint-disable no-curly-component-invocation }}
3-
<h1>[{{property}}]</h1>
3+
<h1>[{{this.property}}]</h1>
44

55
<h1>[{{this.property}}]</h1>
66

test/fixtures/3.28/input/app/components/gherkyn.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import Component from '@glimmer/component';
1+
import Component from '@ember/component';
22

33
export default class GherkynComponent extends Component {
44
property = 'property-on-this';

test/fixtures/3.28/output/app/components/gherkyn.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import Component from '@glimmer/component';
1+
import Component from '@ember/component';
22

33
export default class GherkynComponent extends Component {
44
property = 'property-on-this';
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { helper } from '@ember/component/helper';
22

3-
export default helper(function cucumbyr(positional /*, named*/) {
4-
return positional;
3+
export default helper(function cucumbyr() {
4+
return 'helper-result';
55
});

0 commit comments

Comments
 (0)