intern
Version:
Intern. A next-generation code testing stack for JavaScript.
12 lines (11 loc) • 563 B
TypeScript
import { Executor } from '../executors/Executor';
import { TestProperties } from '../Test';
import { TddLifecycleInterface, TddSuiteFactory, suite, test, before, after, beforeEach, afterEach } from './tdd';
export interface BddInterface extends TddLifecycleInterface {
describe(name: string, factory: TddSuiteFactory): void;
it(name: string, test: TestProperties['test']): void;
}
export { suite as describe };
export { test as it };
export { before, after, beforeEach, afterEach };
export declare function getInterface(executor: Executor): BddInterface;