PokéRogue
    Preparing search index...

    Options type for toHaveTypes.

    interface ToHaveTypesOptions {
        args?: {
            bypassSummonData?: boolean;
            ignoreThirdType?: boolean;
            includeTeraType?: boolean;
            returnOriginalTypesIfStellar?: boolean;
            useIllusion?: boolean;
        };
        mode?: "oneOf"
        | "ordered"
        | "unordered"
        | "superset";
    }
    Index

    Properties

    Properties

    args?: {
        bypassSummonData?: boolean;
        ignoreThirdType?: boolean;
        includeTeraType?: boolean;
        returnOriginalTypesIfStellar?: boolean;
        useIllusion?: boolean;
    }

    (Optional) Arguments to pass to Pokemon.getTypes.

    mode?: "oneOf" | "ordered" | "unordered" | "superset"

    Value dictating the strength of the enforced typing match.

    Possible values (in descending order of strictness) are:

    • "ordered": Enforce that the Pokemon's types are identical and in the same order
    • "unordered": Enforce that the Pokemon's types are identical without checking order
    • "superset": Enforce that the Pokemon's types are a superset of the expected types (all must be present, but extras can be there)
    • "oneOf": Enforce that the Pokemon's types include at least one of the expected types (the existence of additional types does not matter)

    "unordered"