Skip to content

Commit 35587a0

Browse files
authored
Merge pull request #2105 from wozny1989/patch-2
Fix self-closing tag syntax in Profile component test
2 parents 450cbcb + d78b119 commit 35587a0

File tree

1 file changed

+2
-2
lines changed
  • guides/v5.7.0/typescript/application-development

1 file changed

+2
-2
lines changed

guides/v5.7.0/typescript/application-development/testing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ module('Integration | Component | Profile', function (hooks) {
7373
};
7474
this.user = user;
7575

76-
await render(hbs`<Profile @user={{this.user}}`);
76+
await render(hbs`<Profile @user={{this.user}} />`);
7777

7878
assert.dom('[data-test-name]').hasText(this.user.displayName);
7979
assert
@@ -142,7 +142,7 @@ module('Integration | Component | Profile', function (hooks) {
142142
avatarUrl: 'https://example.com/star-wars/rey',
143143
};
144144

145-
await render(hbs`<Profile @user={{this.user}}`);
145+
await render(hbs`<Profile @user={{this.user}} />`);
146146

147147
assert.dom('[data-test-name]').hasText(this.user.displayName);
148148
assert

0 commit comments

Comments
 (0)