UNPKG

@thisisagile/easy-test

Version:

Straightforward library for testing microservices built with @thisisagile/easy

12 lines (11 loc) 428 B
/// <reference types="jest" /> import CustomMatcherResult = jest.CustomMatcherResult; import { Constructor } from '../utils/Types'; export declare const toBeArrayOfWithLength: <T>(items: unknown, ctor: Constructor<T>, length: number) => CustomMatcherResult; declare global { namespace jest { interface Matchers<R, T> { toBeArrayOfWithLength<Z>(ctor: Constructor<Z>, length: number): R; } } }