Skip to content

v2.2.0

Latest
Compare
Choose a tag to compare
@drashbot drashbot released this 30 Jan 00:21
· 3 commits to refs/heads/main since this release
5f20739

Compatibility

  • Requires Deno v1.30.0
  • Requires Node v14, v16, or v18

Documentation

Usage

  1. Create a deps.ts file.
// deps.ts

export {
  Dummy,
  Fake,
  Mock,
  Spy,
  Stub
} from "https://deno.land/x/rhum@v2.2.0/mod.ts";
  1. Import the test doubles from your deps.ts file.
import {
  Dummy,
  Fake,
  Mock,
  Spy,
  Stub
} from "./deps.ts"

... your
... code
... here

Release Summary