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

x/rhum/mod.ts>Interfaces.IFake

A test double library
Latest
interface Interfaces.IFake
import { type Interfaces } from "https://deno.land/x/rhum@v2.2.0/mod.ts";
const { IFake } = Interfaces;

Type Parameters

OriginalObject

Properties

is_fake: boolean

Helper property to show that this object is a fake.

Methods

method<T>(method: MethodOf<OriginalObject>): IMethodChanger<T>

Access the method shortener to make the given method take a shortcut.