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

x/rhum/src/interfaces.ts

A test double library
Go to Latest
import * as rhum from "https://deno.land/x/rhum@v2.1.0-rc.1/src/interfaces.ts";

Interfaces

Interface that all errors must follow. This is useful when a client wants to throw a custom error class via .willThrow() for mocks and fakes.

Interface of verifier that verifies function expression calls.

Interface of verifier that verifies method calls.

Interface for spies on function expressions.

Interface for spies on object methods.

Base interface for verifiers.