Interface SuiteCollector<ExtraContext>

interface SuiteCollector<ExtraContext> {
    clear: (() => void);
    collect: ((file?) => Promise<Suite>);
    mode: RunMode;
    name: string;
    on: (<T>(name, ...fn) => void);
    options?: TestOptions;
    task: ((name, options?) => Custom<ExtraContext>);
    tasks: (SuiteCollector<ExtraContext> | Suite | Custom<ExtraContext> | Test<ExtraContext>)[];
    test: TestAPI<ExtraContext>;
    type: "collector";
}

Type Parameters

  • ExtraContext = {}

Properties

clear: (() => void)

Type declaration

    • (): void
    • Returns void

collect: ((file?) => Promise<Suite>)

Type declaration

mode: RunMode
name: string
on: (<T>(name, ...fn) => void)

Type declaration

options?: TestOptions
task: ((name, options?) => Custom<ExtraContext>)

Type declaration

type: "collector"

Generated using TypeDoc