v2.1.0-rc.1
drashbot
released this
22 Sep 02:38
·
38 commits
to refs/heads/main
since this release
Compatibility
- Requires Deno v1.25.3
- Requires Node v14, v16, v17, 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)