import React from 'react' ; import { shallow } from 'enzyme' ; import { EuiSteps } from '@elastic/eui' ; import { SetupInstructions } from './instructions' ; describe ( 'SetupInstructions' , ( ) => { it ( 'renders' , ( ) => { const wrapper = shallow ( < SetupInstructions productName = "Workplace Search" / > ) ; expect ( wrapper . find ( EuiSteps ) ) . toHaveLength ( 1 ) ; } ) ; } ) ;