Variable configConst

config: {
    filter-quietly: {
        description: string;
        type: string;
    };
    grep: {
        description: string;
        hint: string;
        multiple: boolean;
        nodeArgs: ((value: string[]) => string[]);
        short: string;
        type: string;
    };
    invert: {
        description: string;
        short: string;
        type: string;
    };
    no-filter-quietly: {
        description: string;
        type: string;
    };
    no-invert: {
        description: string;
        short: string;
        type: string;
    };
    only: {
        description: string;
        nodeArgs: ((v: boolean) => string[]);
        short: string;
        type: string;
    };
} = ...

Configuration options added by this plugin

Type declaration

  • filter-quietly: {
        description: string;
        type: string;
    }

    flag

    Do not apply a skip message to tests filtered using --grep and --only.

    Enabled by default if --fail-skip is set.

    • description: string
    • type: string
  • grep: {
        description: string;
        hint: string;
        multiple: boolean;
        nodeArgs: ((value: string[]) => string[]);
        short: string;
        type: string;
    }

    string option

    Only run subtests tests matching the specified pattern.

    Patterns are matched against top-level subtests in each file. To filter tests at subsequent levels, specify this option multiple times.

    To specify regular expression flags, format pattern like a JavaScript RegExp literal. For example: /xyz/i for case-insensitive matching.

    • description: string
    • hint: string
    • multiple: boolean
    • nodeArgs: ((value: string[]) => string[])
        • (value): string[]
        • Parameters

          • value: string[]

          Returns string[]

    • short: string
    • type: string
  • invert: {
        description: string;
        short: string;
        type: string;
    }

    flag

    Invert the matches to --grep patterns. (Like grep -v)

    • description: string
    • short: string
    • type: string
  • no-filter-quietly: {
        description: string;
        type: string;
    }
    • description: string
    • type: string
  • no-invert: {
        description: string;
        short: string;
        type: string;
    }

    flag

    Do not invert the matches to --grep patterns. (default)

    • description: string
    • short: string
    • type: string
  • only: {
        description: string;
        nodeArgs: ((v: boolean) => string[]);
        short: string;
        type: string;
    }

    flag

    Only run tests with {only: true} option, or created with the t.only(...) function.

    • description: string
    • nodeArgs: ((v: boolean) => string[])
        • (v): string[]
        • Parameters

          • v: boolean

          Returns string[]

    • short: string
    • type: string