Skip to content

Commit 7d31811

Browse files
committed
tests: import-example: prefer angle syntax
Let's prefer to use angle bracket syntax rather than curly brace syntax in our tests which create an ImportExample component.
1 parent 2bc7602 commit 7d31811

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/integration/components/import-example-test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ module('Integration | Component | import example', function (hooks) {
88

99
test('it renders a class import example', async function (assert) {
1010
await render(
11-
hbs`{{import-example item='Application' package='@ember/application'}}`
11+
hbs`<ImportExample @item='Application' @package='@ember/application'/>`
1212
);
1313
assert.dom('*').hasText("import Application from '@ember/application';");
1414
});
1515

1616
test('it renders a function import example', async function (assert) {
1717
await render(
18-
hbs`{{import-example item='{ uniqBy }' package='@ember/object/computed'}}`
18+
hbs`<ImportExample @item='{ uniqBy }' @package='@ember/object/computed'/>`
1919
);
2020
assert.dom('*').hasText("import { uniqBy } from '@ember/object/computed';");
2121
});

0 commit comments

Comments
 (0)