diff --git a/tests/helpers.ts b/tests/helpers.ts index 2fef61a..8bf1fc9 100644 --- a/tests/helpers.ts +++ b/tests/helpers.ts @@ -25,6 +25,24 @@ export const unicodeSingle = [ "", ].join("\n"); +export const withService = [ + "import { service } from '@ember/service';", + "import Component from '@glimmer/component';", + "", + "export class ExampleComponent extends Component {", + " @service('store') store;", + " property = true;", + "", + " ask() {", + " return 'hello world'", + " }", + "", + " ", + "}", +].join("\n"); + export const unicodeMulti = [ "export const Run =