diff --git a/test/fixtures/with-telemetry/input/app/controllers/application.js b/test/fixtures/with-telemetry/input/app/controllers/application.js index 5bb0982f8..f3c7d13eb 100644 --- a/test/fixtures/with-telemetry/input/app/controllers/application.js +++ b/test/fixtures/with-telemetry/input/app/controllers/application.js @@ -1,5 +1,6 @@ import Controller from '@ember/controller'; +import { action } from '@ember/object'; export default class ApplicationController extends Controller { - addModal() {} + @action addModal() {} } diff --git a/test/fixtures/with-telemetry/input/app/templates/components/file-less.hbs b/test/fixtures/with-telemetry/input/app/templates/components/file-less.hbs index 47ae702e9..4c50d5d9c 100644 --- a/test/fixtures/with-telemetry/input/app/templates/components/file-less.hbs +++ b/test/fixtures/with-telemetry/input/app/templates/components/file-less.hbs @@ -1,2 +1,2 @@
this template has no js
-{{#bs-button type="primary"}}>Primary{{/bs-button}} +Primary diff --git a/test/fixtures/with-telemetry/output/app/controllers/application.js b/test/fixtures/with-telemetry/output/app/controllers/application.js new file mode 100644 index 000000000..f3c7d13eb --- /dev/null +++ b/test/fixtures/with-telemetry/output/app/controllers/application.js @@ -0,0 +1,6 @@ +import Controller from '@ember/controller'; +import { action } from '@ember/object'; + +export default class ApplicationController extends Controller { + @action addModal() {} +} diff --git a/test/fixtures/with-telemetry/output/app/templates/application.hbs b/test/fixtures/with-telemetry/output/app/templates/application.hbs index ddf4852b8..077434de3 100644 --- a/test/fixtures/with-telemetry/output/app/templates/application.hbs +++ b/test/fixtures/with-telemetry/output/app/templates/application.hbs @@ -14,9 +14,9 @@
- {{utils/bee-bop}} - {{-wat-wat}} - {{utils/-wat-wat}} + {{(utils/bee-bop)}} + {{(-wat-wat)}} + {{(utils/-wat-wat)}} {{#if this.isDetailPage}}

{{currentComponent.title}} @@ -24,11 +24,11 @@

{{currentComponent.description}}

- {{api-reference component=this.currentComponent}} + {{/if}} {{outlet}} - Open + Open {{#if hasModal}} diff --git a/test/fixtures/with-telemetry/output/app/templates/components/foo-bar.hbs b/test/fixtures/with-telemetry/output/app/templates/components/foo-bar.hbs index 47fb0ecdd..44dd7b86b 100644 --- a/test/fixtures/with-telemetry/output/app/templates/components/foo-bar.hbs +++ b/test/fixtures/with-telemetry/output/app/templates/components/foo-bar.hbs @@ -1,4 +1,4 @@ -{{biz-baz canConvert="no" why="helper" where="local"}} +{{(biz-baz canConvert="no" why="helper" where="local")}}