UNPKG

@plugjs/expect5

Version:

Unit Testing for the PlugJS Build System ========================================

32 lines (31 loc) 1.19 kB
import type { Call } from './executable'; export type SuiteSetup = (name: string, call: Call, timeout?: number) => void; export type SuiteFunction = SuiteSetup & { only: SuiteSetup; skip: SuiteSetup; }; export declare const describe: SuiteFunction; export declare const fdescribe: SuiteSetup; export declare const xdescribe: SuiteSetup; export type SpecSetup = (name: string, call: Call, timeout?: number) => void; export type SpecFunction = SpecSetup & { only: SpecSetup; skip: SpecSetup; }; export declare const it: SpecFunction; export declare const fit: SpecSetup; export declare const xit: SpecSetup; export type HookSetup = (call: Call, timeout?: number) => void; export type HookFunction = HookSetup & { skip: HookSetup; }; export declare const beforeAll: HookFunction; export declare const xbeforeAll: HookSetup; export declare const beforeEach: HookFunction; export declare const xbeforeEach: HookSetup; export declare const afterAll: HookFunction; export declare const xafterAll: HookSetup; export declare const afterEach: HookFunction; export declare const xafterEach: HookSetup; export declare const before: HookSetup; export declare const after: HookSetup;