Skip to content

v2.1.0

Compare
Choose a tag to compare
@drashbot drashbot released this 23 Dec 22:08
· 27 commits to refs/heads/main since this release

Important Notes From the Authors

This release has the same changes as v2.1.0-rc.1.

The differences are:

- Node 17 is removed from the Compatibility section. It should not have been
  added in the first place... my bad (crookse).
- This release was tested using Deno v1.29.1, so that is listed in the
  Compatibility section.
- The -rc.1 tag is removed. Basically, we are saying v2.1.0-rc.1 is stable.
  Also, v2.1.0-rc.1 should have used a different tag instead of -rc.1 In the
  future, -rc.x tags will only apply to major versions.

Compatibility

  • Requires Deno v1.29.1
  • 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/[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