Skip to content

Commit 7a7b691

Browse files
committed
chore(tests): updated tests
1 parent 7db5cf5 commit 7a7b691

File tree

2 files changed

+1
-17
lines changed

2 files changed

+1
-17
lines changed

src/components/Image/Image.test.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,6 @@ import React from 'react';
33
import { Image } from '../Image';
44

55
describe('Image component', () => {
6-
it('renders its contents', () => {
7-
const image = shallow(<Image />);
8-
expect(image.find('.ui__image')).toHaveLength(1);
9-
});
10-
116
it('snapshot renders default image', () => {
127
const image = shallow(<Image />);
138
expect(image).toMatchSnapshot();
Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,3 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

3-
exports[`Image component snapshot renders default image 1`] = `
4-
<div
5-
className="ui__base ui__image__wrapper"
6-
>
7-
<img
8-
className="ui__image ui__image--loading"
9-
/>
10-
<div
11-
className="ui__image__overlay ui__image__overlay--loading ui__image__overlay--hide"
12-
/>
13-
</div>
14-
`;
3+
exports[`Image component snapshot renders default image 1`] = `<Fragment />`;

0 commit comments

Comments
 (0)