beagle-web-react
beagle-web-react copied to clipboard
Bump jest-mock-extended from 1.0.18 to 3.0.4
Bumps jest-mock-extended from 1.0.18 to 3.0.4.
Release notes
Sourced from jest-mock-extended's releases.
3.0.4
- Updated jest dependencies
- Updated typescript peerDependencies to allow for typescript 5.*
3.0.2
Added marchaos/jest-mock-extended#110
3.0.1
Allow overriding calledWithFn - see marchaos/jest-mock-extended#96
3.0.0
- Fixed performance issue for marchaos/jest-mock-extended#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 - marchaos/jest-mock-extended#95
2.0.6
Support for Jest 28
2.0.5
Fixes:
- Explicitly Show DeepMockProxy In Readme Example - marchaos/jest-mock-extended#86
- Fix ESM support by avoiding export default as syntax - marchaos/jest-mock-extended#83
- Fix TypeError thrown in mockReset/mockClear - marchaos/jest-mock-extended#81
2.0.4
PRs:
- Allow for Date object in mock implementation - marchaos/jest-mock-extended#60
- fix(calledWith) prevent falsy jestAsymmetricMatcher detection for Mock - marchaos/jest-mock-extended#75
- Export DeepMockProxy - marchaos/jest-mock-extended#72
2.0.0
- Changed
mock()to no longer use recursive types. OnlydeepMock()does that now. This should reduce thetsccompile time for large projects.- Added
stub()for usecases where you need a mock object with no expectations.- Added support for Jest 27, although blocked by facebook/jest#11677
Potential backwards compatibility issues for use of mock() where deepMock() may be required. This may result in TS errors.
Commits
- See full diff in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)