Type Alias GeneralAssertions<T>

GeneralAssertions: Omit<
    Assertions<
        T,
        Omit<
            NotAssertions<T>,

                | "toReject"
                | "toThrow"
                | (
                    Exclude<T, Promise<unknown> | Function> extends never
                        ? "toEqual"
                        : ""
                ),
        >,
    >,

        | "toReject"
        | "toResolve"
        | "toThrow"
        | (Exclude<T, Promise<unknown> | Function> extends never ? "toEqual" : ""),
>

Assertions for all types other than promises and callbacks/actions (type: () => void)

Type Parameters

  • T