@exodus/test
    Preparing search index...

    Interface TestFunction

    Test function

    interface TestFunction {
        only: TestFunction;
        skip: TestFunction;
        onFinish(fn: () => void): void;
        (name: string, cb: (t: Test) => void): void;
        (name: string, opts: TestOptions, cb: (t: Test) => void): void;
        (cb: (t: Test) => void): void;
        (opts: TestOptions, cb: (t: Test) => void): void;
    }
    Index

    Properties

    Methods

    Properties

    Only run this test

    Skip this test

    Methods

    • Register a callback to run after all tests finish

      Parameters

      • fn: () => void

      Returns void