Skip to content

Commit

Permalink
fixup! test(Image): test for Image added
Browse files Browse the repository at this point in the history
  • Loading branch information
niktverd committed Jun 14, 2023
1 parent aecae15 commit 658c872
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Image/__tests__/Image.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ describe('Image', () => {
});
});

test('add image as teblet prop', () => {
test('add image as tablet prop', () => {
testSourceProps<ImageProps>({
component: Image,
props: {desktop: imageSrc, tablet: imageSrc, qa: qaId},
Expand Down Expand Up @@ -113,7 +113,7 @@ describe('Image', () => {
expect(component).toHaveAttribute('alt', i18n('img-alt'));
});

test('render defined "alt"', () => {
test('render custom "alt"', () => {
const alt = 'defined-alt';
render(<Image src={imageSrc} alt={alt} qa={qaId} />);

Expand Down

0 comments on commit 658c872

Please sign in to comment.