UNPKG

earljs

Version:

Ergonomic, modern and type-safe assertion library

6 lines (5 loc) 450 B
import { Control } from '../Control'; export declare function toBeAContainerWith(control: Control<any>, expectedItems: any[]): void; export declare function toBeAnArrayOfLength(control: Control<ReadonlyArray<any>>, length: number): void; export declare function toBeAnArrayWith(control: Control<ReadonlyArray<any>>, expectedItems: ReadonlyArray<any>): void; export declare function toBeAnObjectWith(control: Control<Object>, expected: Object): void;