import { containsMatch } from './containsMatch' ; export const containsMatches = ( expectedValues ) => ( receivedArray ) : boolean => { return expectedValues . map ( ( value ) => containsMatch ( receivedArray , value ) ) . reduce ( ( acc , cur ) => acc && cur , true ) ; } ;