Skip to content

Commit

Permalink
fixed loading test
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelchadwick committed Aug 16, 2024
1 parent 6e8510a commit 58b77fe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/frontend/app/components/learner-groups/root.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
@setSortBy={{@setSortBy}}
/>
{{else}}
<LearnerGroups::Loading @count="2" />
<LearnerGroups::Loading @count={{2}} />
{{/if}}
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ module('Integration | Component | learner-groups/loading', function (hooks) {
setupIntl(hooks, 'en-us');

test('it renders', async function (assert) {
await render(hbs`<LearnerGroups::Loading />`);
assert.dom('tbody tr').exists({ count: 1 });
await render(hbs`<LearnerGroups::Loading @count={{2}} />`);
assert.dom('tbody tr').exists({ count: 2 });
await a11yAudit(this.element);
});
});

0 comments on commit 58b77fe

Please sign in to comment.