oral-ts
Version:
a testing framework for typescript
21 lines (20 loc) • 534 B
TypeScript
/// <reference types="node" />
import EventEmitter from "events";
import { suit } from "../global";
export declare class Runner extends EventEmitter {
assertions: Set<string>;
suitName: string;
beforeAll: string;
afterAll: string;
beforeEach: string;
afterEach: string;
passed: Array<string>;
failed: Array<string>;
obj: any;
construct: any;
globalObj: any;
constructor(object: any, globalObject?: any);
configure(): void;
runAllAssertions(): Promise<void>;
info(): suit;
}