import { shallow } from 'enzyme' ; import React from 'react' ; import { DeleteActionName , DeleteActionNameProps } from './delete_action_name' ; jest . mock ( '../../../../../shared_imports' ) ; jest . mock ( '../../../../../app/app_dependencies' ) ; describe ( 'Transform: Transform List Actions <DeleteAction />' , ( ) => { test ( 'Minimal initialization' , ( ) => { const props = { canDeleteTransform : true , disabled : false , isBulkAction : false , } ; const wrapper = shallow ( < DeleteActionName { ... props } / > ) ; expect ( wrapper ) . toMatchSnapshot ( ) ; } ) ; } ) ;