Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
method FunctionExpressionVerifier.prototype.toBeCalledWithArgs
import { FunctionExpressionVerifier } from "https://deno.land/x/rhum@v2.1.0-rc.1/src/verifiers/function_expression_verifier.ts";

Verify that this method was called with the given args.

Parameters

actualArgs: unknown[]
  • The actual args that this method was called with.
expectedArgs: unknown[]
  • The args this method is expected to have received.