UNPKG

@thisisagile/easy-test

Version:

Straightforward library for testing microservices built with @thisisagile/easy

10 lines (9 loc) 341 B
import { Constructor as Ctor } from '../utils/Types'; export declare const toBeArrayOfWithLength: <T>(items: unknown, ctor: Ctor<T>, length: number) => jest.CustomMatcherResult; declare global { namespace jest { interface Matchers<R, T> { toBeArrayOfWithLength<Z>(ctor: Ctor<Z>, length: number): R; } } }