v2.1.0
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
- Create a
deps.ts
file.
// deps.ts
export {
Dummy,
Fake,
Mock,
Spy,
Stub
} from "https://deno.land/x/[email protected]/mod.ts";
- 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)