Skip to main content
Module

x/rhum/mod.ts>Types.MockMethodCalls

A test double library
Go to Latest
type alias Types.MockMethodCalls
import { type Types } from "https://deno.land/x/rhum@v2.1.0-rc.1/mod.ts";
const { MockMethodCalls } = Types;

Describes the MockExtension#calls property.

This is a record where the key is the method that was called and the value is the number of times the method was called.

definition: Record<keyof Object, number>