import { EndpointEntryNested } from '.' ; import { FIELD , NESTED } from '../../../constants/index.mock' ; import { getEndpointEntryMatchMock } from '../entry_match/index.mock' ; import { getEndpointEntryMatchAnyMock } from '../entry_match_any/index.mock' ; export const getEndpointEntryNestedMock = ( ) : EndpointEntryNested => ( { entries : [ getEndpointEntryMatchMock ( ) , getEndpointEntryMatchAnyMock ( ) ] , field : FIELD , type : NESTED , } ) ;