Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/rhum/src/types.ts>MockMethodCalls

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

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>