Skip to main content

FunctionArguments

Matches function arguments, for use with a MockFunctionCall / MockFunctionExecution.

Usually you don't need to use this matcher directly, the mock creates it for you.

import { matchers } from '@contract-case/case-definition-dsl'

new matchers.functions.FunctionArguments(expectedArguments: any[])

Parameters

NameTypeDescription
expectedArgumentsany[]an array where each entry will be matched against the arguments.