Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
SutuSebastian committed Dec 19, 2024
1 parent 4a4b7ee commit 2c28209
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/src/components/Card/Card.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ describe("Components / Card", () => {
});

it('should render an `<img>` given `imgSrc=".."`', () => {
render(<Card imgSrc="https://flowbite.com/docs/images/blog/image-1.jpg" />);
render(<Card imgAlt="Card with image" imgSrc="https://flowbite.com/docs/images/blog/image-1.jpg" />);
const img = screen.getByRole("img");

expect(card()).toContainElement(img);
Expand Down

0 comments on commit 2c28209

Please sign in to comment.