Skip to content

v2.1.0-rc.1

Compare
Choose a tag to compare
@drashbot drashbot released this 22 Sep 02:38
· 38 commits to refs/heads/main since this release
bfb25d9

Compatibility

  • Requires Deno v1.25.3
  • Requires Node v14, v16, v17, or v18

Documentation

Usage

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

export {
  Dummy,
  Fake,
  Mock,
  Spy,
  Stub
} from "https://deno.land/x/[email protected]/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

  • feat: spies (#162)
  • fix: issue with test double being constructed without constructor args (#165)
  • chore: DRY code; separate logic into files where needed; add comments (#163)
  • ci: pre-check release version when releasing to node ecosystem (#169)
  • ci: update release drafter to reflect v2; use drash template (#160)