import { List , ListArray } from '.' ; import { ENDPOINT_LIST_ID } from '@kbn/securitysolution-list-constants' ; export const getListMock = ( ) : List => ( { id : 'some_uuid' , list_id : 'list_id_single' , namespace_type : 'single' , type : 'detection' , } ) ; export const getEndpointListMock = ( ) : List => ( { id : ENDPOINT_LIST_ID , list_id : ENDPOINT_LIST_ID , namespace_type : 'agnostic' , type : 'endpoint' , } ) ; export const getListArrayMock = ( ) : ListArray => [ getListMock ( ) , getEndpointListMock ( ) ] ;