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

x/rhum/src/errors.ts

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

Classes

Error to throw in relation to fake logic.

Error to thrown in relation to mock logic.

Error to throw in relation to spy logic.

Error to throw in relation to verification logic. For example, when a method or function expression is being verified that it was called once via .verify("someMethod").toBeCalled(1). The stack trace shown with this error is modified to look like the following example: