UNPKG

typespec-bdd

Version:

BDD framework for TypeScript.

10 lines (9 loc) 772 B
import { Runner, Kind } from './Runner'; export declare const AutoRunner: Runner; export declare function step(regex: RegExp, kind?: Kind): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => void; export declare function given(regex: RegExp, kind?: Kind): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => void; export declare function when(regex: RegExp, kind?: Kind): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => void; export declare function then(regex: RegExp, kind?: Kind): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => void; export { Runner, Kind } from './Runner'; export { Assert } from './Assertions'; export { TestReporter, TapReporter, TestHooks } from './Hooks';