Releases: marchaos/jest-mock-extended
Releases · marchaos/jest-mock-extended
3.0.5
Fixed Deep Mock perf issue with #123
3.0.4
- Updated jest dependencies
- Updated typescript peerDependencies to allow for typescript 5.*
3.0.1
Allow overriding calledWithFn - see #96
3.0.0
- 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
Fixes
- Fix DeepMockProxy type error for objects which are functions and have fields at the same time - #95
2.0.5
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
PRs:
- Allow for Date object in mock implementation - #60
- fix(calledWith) prevent falsy jestAsymmetricMatcher detection for Mock - #75
- Export DeepMockProxy - #72