import { elasticsearchClientMock } from 'src/core/server/elasticsearch/client/mocks' ; import { DeleteListItemByValueOptions } from '../items' ; import { LIST_ID , LIST_ITEM_INDEX , TYPE , VALUE } from '../../../common/constants.mock' ; export const getDeleteListItemByValueOptionsMock = ( ) : DeleteListItemByValueOptions => ( { esClient : elasticsearchClientMock . createScopedClusterClient ( ) . asCurrentUser , listId : LIST_ID , listItemIndex : LIST_ITEM_INDEX , type : TYPE , value : VALUE , } ) ;