import React from 'react' ; import { shallow } from 'enzyme' ; import { SynonymIcon } from './' ; describe ( 'SynonymIcon' , ( ) => { it ( 'renders' , ( ) => { const wrapper = shallow ( < SynonymIcon />); expect ( wrapper . hasClass ( 'euiIcon' ) ) . toBe ( true ) ; } ) ; } ) ;