@thisisagile/easy-test
Version:
Straightforward library for testing microservices built with @thisisagile/easy
12 lines (11 loc) • 376 B
TypeScript
/// <reference types="jest" />
import CustomMatcherResult = jest.CustomMatcherResult;
import { Constructor } from '../utils/Types';
export declare const toBeArrayOf: <T>(items: unknown, ctor: Constructor<T>) => CustomMatcherResult;
declare global {
namespace jest {
interface Matchers<R, T> {
toBeArrayOf<Z>(ctor: Constructor<Z>): R;
}
}
}