Skip to content

Commit

Permalink
fix: rename the test case
Browse files Browse the repository at this point in the history
  • Loading branch information
lialila committed Oct 23, 2024
1 parent b451250 commit 5bde8fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/TextCardWithIcon/TextCardWithIcon.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ describe('The TextCardWithIcon component', () => {
expect(screen.getByRole('img')).toHaveAttribute('alt', 'Alt text');
});

it('displays the icon', () => {
it('displays the image', () => {
setup({ image: <img alt="Alt text" src="/src" />, displaysAs: 'column' });

expect(screen.getByRole('img')).toHaveAttribute('alt', 'Alt text');
Expand Down

0 comments on commit 5bde8fc

Please sign in to comment.