Type Alias CallbackAssertions<T>

CallbackAssertions: Pick<
    Assertions<T, Pick<NotAssertions<T>, "toBe" | "toBeOfType" | "toThrow">>,
    "not" | "toBe" | "toBeOfType" | "toThrow",
>

Assertions for callbacks/actions (type () => void)

Type Parameters

  • T extends () => void