Skip to content

Releases: marchaos/jest-mock-extended

3.0.7

02 May 09:33
Compare
Choose a tag to compare

Bumped ts-essentials

3.0.5

03 Aug 07:19
Compare
Choose a tag to compare

Fixed Deep Mock perf issue with #123

3.0.4

23 Mar 14:09
Compare
Choose a tag to compare
  • Updated jest dependencies
  • Updated typescript peerDependencies to allow for typescript 5.*

3.0.2

24 Feb 10:30
Compare
Choose a tag to compare

Added #110

3.0.1

16 Sep 21:39
Compare
Choose a tag to compare

Allow overriding calledWithFn - see #96

3.0.0

16 Sep 21:38
Compare
Choose a tag to compare
  • Fixed performance issue for #97. This required a small API change, hence the major version bump. Deep mocking functions with properties is still possible using
mockDeep({ funcPropSupport: true });

however this comes with a recursive performance cost. We hope to address this in the future.

2.0.7

16 Jul 13:47
Compare
Choose a tag to compare

Fixes

  • Fix DeepMockProxy type error for objects which are functions and have fields at the same time - #95

2.0.6

09 May 10:07
Compare
Choose a tag to compare

Support for Jest 28

2.0.5

01 Apr 09:49
Compare
Choose a tag to compare

Fixes:

  • Explicitly Show DeepMockProxy In Readme Example - #86
  • Fix ESM support by avoiding export default as syntax - #83
  • Fix TypeError thrown in mockReset/mockClear - #81

2.0.4

21 Sep 15:13
Compare
Choose a tag to compare

PRs:

  • Allow for Date object in mock implementation - #60
  • fix(calledWith) prevent falsy jestAsymmetricMatcher detection for Mock - #75
  • Export DeepMockProxy - #72