Arize Phoenix TS
    Preparing search index...

    The minimum slice of a test runner (vitest or jest) the runner needs in order to declare suites, tests, and lifecycle hooks.

    interface RunnerHooks {
        afterAll: (fn: () => unknown) => void;
        beforeAll: (fn: () => unknown) => void;
        describe: (name: string, fn: () => void) => void;
        describeOnly?: (name: string, fn: () => void) => void;
        describeSkip?: (name: string, fn: () => void) => void;
        test: (
            name: string,
            fn: (...args: unknown[]) => unknown,
            timeout?: number,
        ) => void;
        testOnly?: (
            name: string,
            fn: (...args: unknown[]) => unknown,
            timeout?: number,
        ) => void;
        testSkip?: (
            name: string,
            fn: (...args: unknown[]) => unknown,
            timeout?: number,
        ) => void;
    }
    Index

    Properties

    afterAll: (fn: () => unknown) => void
    beforeAll: (fn: () => unknown) => void
    describe: (name: string, fn: () => void) => void
    describeOnly?: (name: string, fn: () => void) => void
    describeSkip?: (name: string, fn: () => void) => void
    test: (
        name: string,
        fn: (...args: unknown[]) => unknown,
        timeout?: number,
    ) => void
    testOnly?: (
        name: string,
        fn: (...args: unknown[]) => unknown,
        timeout?: number,
    ) => void
    testSkip?: (
        name: string,
        fn: (...args: unknown[]) => unknown,
        timeout?: number,
    ) => void