UNPKG

@thisisagile/easy-test

Version:

Straightforward library for testing microservices built with @thisisagile/easy

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