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

x/rhum/src/mock/mock_builder.ts

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

Classes

Builder to help build a mock object. This does all of the heavy-lifting to create a mock object. Its create() method returns an instance of Mock, which is basically an original object with added data members for verifying behavior.