Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/rhum/src/interfaces.ts

A test double library
Latest
import * as rhum from "https://deno.land/x/rhum@v2.2.0/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.