File tree Expand file tree Collapse file tree 2 files changed +1
-17
lines changed Expand file tree Collapse file tree 2 files changed +1
-17
lines changed Original file line number Diff line number Diff line change @@ -3,11 +3,6 @@ import React from 'react';
3
3
import { Image } from '../Image' ;
4
4
5
5
describe ( 'Image component' , ( ) => {
6
- it ( 'renders its contents' , ( ) => {
7
- const image = shallow ( < Image /> ) ;
8
- expect ( image . find ( '.ui__image' ) ) . toHaveLength ( 1 ) ;
9
- } ) ;
10
-
11
6
it ( 'snapshot renders default image' , ( ) => {
12
7
const image = shallow ( < Image /> ) ;
13
8
expect ( image ) . toMatchSnapshot ( ) ;
Original file line number Diff line number Diff line change 1
1
// Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
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 />` ;
You can’t perform that action at this time.
0 commit comments