@exodus/test
    Preparing search index...
    interface TestOptions {
        concurrency?: number | boolean;
        only?: boolean;
        plan?: number;
        signal?: AbortSignal;
        skip?: string | boolean;
        timeout?: number;
        todo?: string | boolean;
    }
    Index

    Properties

    concurrency?: number | boolean

    If a number is provided, then that many tests would run in parallel. If truthy, it would run (number of cpu cores - 1) tests in parallel. For subtests, it will be Infinity tests in parallel. If falsy, it would only run one test at a time. If unspecified, subtests inherit this value from their parent.

    false
    
    only?: boolean

    If truthy, and the test context is configured to run only tests, then this test will be run. Otherwise, the test is skipped.

    false
    
    plan?: number

    The number of assertions and subtests expected to be run in the test. If the number of assertions run in the test does not match the number specified in the plan, the test will fail.

    undefined
    

    v22.2.0

    signal?: AbortSignal

    Allows aborting an in-progress test.

    v18.8.0

    skip?: string | boolean

    If truthy, the test is skipped. If a string is provided, that string is displayed in the test results as the reason for skipping the test.

    false
    
    timeout?: number

    A number of milliseconds the test will fail after. If unspecified, subtests inherit this value from their parent.

    Infinity
    

    v18.7.0

    todo?: string | boolean

    If truthy, the test marked as TODO. If a string is provided, that string is displayed in the test results as the reason why the test is TODO.

    false