class FunctionExpressionVerifier
extends CallableVerifier
import { FunctionExpressionVerifier } from "https://deno.land/x/rhum@v2.1.0/src/verifiers/function_expression_verifier.ts";
Test doubles use this class to verify that their methods were called, were called with a number of args, were called with specific types of args, and so on.
Methods
toBeCalled(actualCalls: number, expectedCalls?: number): this
Verify that the actual calls match the expected calls.
toBeCalledWithArgs(actualArgs: unknown[], expectedArgs: unknown[]): this
Verify that this method was called with the given args.
toBeCalledWithoutArgs(actualArgs: unknown[]): this
Verify that this method was called without args.