Skip to content

Commit

Permalink
fix: await snapshot
Browse files Browse the repository at this point in the history
Co-authored-by: Lukas Spirig <[email protected]>
  • Loading branch information
jeripeierSBB and kyubisation authored Dec 6, 2023
1 parent abc6915 commit 70b0605
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/datepicker/datepicker/datepicker.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ describe('sbb-datepicker', () => {
const root = await fixture(html`<sbb-datepicker></sbb-datepicker>`);

expect(root).dom.to.be.equal(`<sbb-datepicker></sbb-datepicker>`);
expect(root).shadowDom.to.be.equalSnapshot();
await expect(root).shadowDom.to.be.equalSnapshot();
});
});

Expand Down

0 comments on commit 70b0605

Please sign in to comment.