import { elasticsearchClientMock } from 'src/core/server/elasticsearch/client/mocks' ; import { DeleteListItemOptions } from '../items' ; import { LIST_ITEM_ID , LIST_ITEM_INDEX } from '../../../common/constants.mock' ; export const getDeleteListItemOptionsMock = ( ) : DeleteListItemOptions => ( { esClient : elasticsearchClientMock . createScopedClusterClient ( ) . asCurrentUser , id : LIST_ITEM_ID , listItemIndex : LIST_ITEM_INDEX , } ) ;