Skip to content

Commit

Permalink
ci: Call done() when async task finishes
Browse files Browse the repository at this point in the history
  • Loading branch information
motss committed Mar 26, 2020
1 parent 0c085f9 commit c334766
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tests/full-icu.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ describe('timezones', () => {
);
strictEqual(getResolvedLocale(), 'en-US');

const content = await browser.executeAsync(async () => {
const content = await browser.executeAsync(async (done) => {
const a = document.createElement('app-datepicker');

document.body.appendChild(a);

await a.updateComplete;

return (
done(
Array.from(
a.shadowRoot?.querySelectorAll('.full-calendar__day') ?? []
)[2]?.outerHTML ?? 'nil'
Expand Down

0 comments on commit c334766

Please sign in to comment.