zora
Version:
tap test harness for nodejs and browsers
28 lines (27 loc) • 1.57 kB
TypeScript
import { BooleanAssertionFunction, ComparatorAssertionFunction, ErrorAssertionFunction, MessageAssertionFunction, RootTest, TestFunction, TestHarness } from './interfaces';
export * from './interfaces';
export { tapeTapLike, mochaTapLike } from './reporter';
export { AssertPrototype } from './assertion';
export declare const test: RootTest;
export declare const skip: TestFunction;
export declare const only: TestFunction;
export declare const equal: ComparatorAssertionFunction;
export declare const equals: ComparatorAssertionFunction;
export declare const eq: ComparatorAssertionFunction;
export declare const deepEqual: ComparatorAssertionFunction;
export declare const notEqual: ComparatorAssertionFunction;
export declare const notEquals: ComparatorAssertionFunction;
export declare const notEq: ComparatorAssertionFunction;
export declare const notDeepEqual: ComparatorAssertionFunction;
export declare const is: ComparatorAssertionFunction;
export declare const same: ComparatorAssertionFunction;
export declare const isNot: ComparatorAssertionFunction;
export declare const notSame: ComparatorAssertionFunction;
export declare const ok: BooleanAssertionFunction;
export declare const truthy: BooleanAssertionFunction;
export declare const notOk: BooleanAssertionFunction;
export declare const falsy: BooleanAssertionFunction;
export declare const fail: MessageAssertionFunction;
export declare const throws: ErrorAssertionFunction;
export declare const doesNotThrow: ErrorAssertionFunction;
export declare const createHarness: (opts?: {}) => TestHarness;