Skip to content

Commit

Permalink
Removing unnecessary aTimeout.
Browse files Browse the repository at this point in the history
  • Loading branch information
dbatiste committed Sep 25, 2024
1 parent 551d6a8 commit 67875d6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions components/calendar/test/calendar.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ describe('d2l-calendar', () => {
const el = calendar.shadowRoot.querySelectorAll('d2l-button-icon')[0];
clickElem(el);
const { detail } = await oneEvent(calendar, 'd2l-calendar-view-change');
await aTimeout(1);
expect(detail.minValue).to.deep.equal(new Date(2015, 6, 26));
expect(detail.maxValue).to.deep.equal(new Date(2015, 8, 5));
});
Expand All @@ -109,7 +108,6 @@ describe('d2l-calendar', () => {
const el = calendar.shadowRoot.querySelectorAll('d2l-button-icon')[1];
clickElem(el);
const { detail } = await oneEvent(calendar, 'd2l-calendar-view-change');
await aTimeout(1);
expect(detail.minValue).to.deep.equal(new Date(2015, 8, 27));
expect(detail.maxValue).to.deep.equal(new Date(2015, 9, 31));
});
Expand Down

0 comments on commit 67875d6

Please sign in to comment.