Skip to content

Commit

Permalink
fix: review
Browse files Browse the repository at this point in the history
  • Loading branch information
dauriamarco committed Oct 2, 2023
1 parent 542717d commit 1e3510c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/components/sbb-image/sbb-image.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(`
<sbb-image image-src="${url}"></sbb-image>
Expand Down
2 changes: 1 addition & 1 deletion src/components/sbb-image/sbb-image.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ export class SbbImage extends LitElement {
];
})}
<img
alt=${this.alt}
alt=${this.alt || nothing}
class="image__img"
src=${this.imageSrc}
width="1000"
Expand Down

0 comments on commit 1e3510c

Please sign in to comment.