UNPKG

717 BTypeScriptView Raw
1import { Message } from './interfaces';
2export declare const defaultTestOptions: Readonly<{
3 offset: number;
4 skip: boolean;
5 runOnly: boolean;
6}>;
7export declare const noop: () => void;
8export declare const TesterPrototype: {
9 [Symbol.asyncIterator]: () => AsyncGenerator<any, any, any>;
10};
11export declare const testerLikeProvider: (BaseProto?: {
12 [Symbol.asyncIterator]: () => AsyncGenerator<any, any, any>;
13}) => (assertions: any[], routine: Promise<any>, offset: number) => any;
14export declare const testerFactory: (assertions: any[], routine: Promise<any>, offset: number) => any;
15export declare const map: (fn: any) => (stream: AsyncIterable<Message<any>>) => AsyncGenerator<any, void, unknown>;