import React from 'react' ; import { shallow } from 'enzyme' ; import { EuiCallOut } from '@elastic/eui' ; import { FormKeyUpdateWarning } from './' ; describe ( 'FormKeyUpdateWarning' , ( ) => { it ( 'renders' , ( ) => { const wrapper = shallow ( < FormKeyUpdateWarning />); expect ( wrapper . find ( EuiCallOut ) ) . toHaveLength ( 1 ) ; } ) ; } ) ;