From 1e3510c3a5327944a0fe0aad3dd4b51b723787db Mon Sep 17 00:00:00 2001 From: Marco D'Auria Date: Mon, 2 Oct 2023 11:16:20 +0200 Subject: [PATCH] fix: review --- src/components/sbb-image/sbb-image.e2e.ts | 1 - src/components/sbb-image/sbb-image.tsx | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/sbb-image/sbb-image.e2e.ts b/src/components/sbb-image/sbb-image.e2e.ts index a6b640c58f8..f930e90d0e3 100644 --- a/src/components/sbb-image/sbb-image.e2e.ts +++ b/src/components/sbb-image/sbb-image.e2e.ts @@ -15,7 +15,6 @@ describe('sbb-image', () => { // Wait five seconds in hope the image will successfully be loaded // TODO: Find more reliable solution await new Promise((res) => setTimeout(res, 2000)); - await element.updateComplete; expect(element).dom.to.be.equal(` diff --git a/src/components/sbb-image/sbb-image.tsx b/src/components/sbb-image/sbb-image.tsx index b66eda37c4a..96d73d23d29 100644 --- a/src/components/sbb-image/sbb-image.tsx +++ b/src/components/sbb-image/sbb-image.tsx @@ -455,7 +455,7 @@ export class SbbImage extends LitElement { ]; })}