Skip to content
This repository has been archived by the owner on Apr 18, 2022. It is now read-only.

Releases: udibo/mock

0.15.2

17 Apr 18:15
Compare
Choose a tag to compare

What's Changed

  • Deprecate in favor of std/testing/mock.ts and std/testing/time.ts by @KyleJune in #38

Full Changelog: 0.15.0...0.15.2

0.15.0

21 Mar 00:47
38be294
Compare
Choose a tag to compare

What's Changed

  • Fix Stub type docs by @KyleJune in #36
  • Replace unknown defaults with any defaults and make self assertions use assertEquals by @KyleJune in #37

Full Changelog: 0.14.0...0.15.0

0.14.0

20 Mar 21:52
46bbfda
Compare
Choose a tag to compare

What's Changed

  • Refactor for better types and reorganize by @KyleJune in #33
  • Make FakeTime.restore throw if already restored by @KyleJune in #34
  • Add mockSession, mockSessionAsync, and restore by @KyleJune in #35

Full Changelog: 0.13.0...0.14.0

0.13.0

08 Feb 01:22
Compare
Choose a tag to compare

What's Changed

  • feat(spy): Adds argument support for function calls by @jhechtf in #29

New Contributors

Full Changelog: 0.12.2...0.13.0

0.12.2

09 Jan 16:24
Compare
Choose a tag to compare

Changes

  • Fix time type error with dom lib compiler options (#28)

Full Changelog: 0.12.1...0.12.2

0.12.1

24 Nov 19:49
9769c74
Compare
Choose a tag to compare

What's Changed

  • Fix resolvesNext not accepting sync iterable and improve examples by @KyleJune in #26

Full Changelog: 0.12.0...0.12.1

0.12.0

15 Nov 00:05
Compare
Choose a tag to compare

What's Changed

  • Have SpyCall use any instead of unknown by @KyleJune in #23

Full Changelog: 0.11.0...0.12.0

0.11.0

14 Nov 23:49
Compare
Choose a tag to compare

What's Changed

  • Remove throws, resolves, rejects, and fromNow callbacks by @KyleJune in #18
  • Replace any with unknown where any is not needed by @KyleJune in #19
  • Improve FakeTime controls by @KyleJune in #20
  • Allow stubbing non function properties and add returnsNext/resolvesNext callbacks by @KyleJune in #22

Full Changelog: 0.10.1...0.11.0

0.10.1

19 Sep 03:49
Compare
Choose a tag to compare

Changes

  • Upgrade dependencies
  • Remove v from version tag

v0.10.0

13 Jun 19:54
Compare
Choose a tag to compare

Changes

  • Upgrade deno to 1.11.0 and add assertion functions (874b56b)