import React from 'react' ; import { shallow } from 'enzyme' ; import { CustomSourceIcon } from './custom_source_icon' ; describe ( 'CustomSourceIcon' , ( ) => { it ( 'renders' , ( ) => { const wrapper = shallow ( < CustomSourceIcon />); expect ( wrapper . find ( 'svg' ) ) . toHaveLength ( 1 ) ; } ) ; } ) ;