Skip to content

CCM-9336: Bump jest-mock-extended from 3.0.7 to 4.0.1#165

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/jest-mock-extended-4.0.1
Open

CCM-9336: Bump jest-mock-extended from 3.0.7 to 4.0.1#165
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/jest-mock-extended-4.0.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 6, 2026

Bumps jest-mock-extended from 3.0.7 to 4.0.1.

Release notes

Sourced from jest-mock-extended's releases.

4.0.1

Patch release containing the recently merged fixes after 4.0.0.

Changes

  • Added TypeScript 6 compatibility.

    • Updated dev dependency support for TypeScript 6.
    • Expanded the TypeScript peer dependency range to include ^6.0.0.
  • Fixed calledWith matching for object arguments.

    • calledWith now compares literal object arguments by value instead of only by reference.
    • This allows calls like mockFn.calledWith({ id: 1 }) to match later calls with equivalent object literals.
    • Added regression coverage for nested object literal matching.
  • Fixed overloaded function support in mock proxy types.

    • Restored inferred argument and return types for mocked function properties.
    • Improves typing for overloaded methods on both flat mocks and deep mocks.
    • Adds regression coverage for overloaded method mocks.

4.0.0

Upgrade to jest 30

Commits
  • 3784780 bump version - to 4.0.1.
  • fe30345 Merge pull request #141 from gzm0/leave-infer
  • b51d866 Merge pull request #145 from marchaos/pr-127-resolved
  • d66a39d fix: allow objects as a parameter in the 'calledWith' method
  • 7479be9 Merge pull request #143 from brunotp99/chore/upgrade-deps/jest-30-typescript-6
  • dc4e958 chore: use original indentation
  • 7ac0b14 chore: remove package lock
  • 784f526 chore(deps): upgrade typescript major dependency and tsconfig
  • 2a762bb Fix overloads: Revive infer statements from 3.0.7
  • 75bfd0e bump version - to 4.0.0.
  • Additional commits viewable in compare view

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [jest-mock-extended](https://github.com/marchaos/jest-mock-extended) from 3.0.7 to 4.0.1.
- [Release notes](https://github.com/marchaos/jest-mock-extended/releases)
- [Commits](marchaos/jest-mock-extended@3.0.7...4.0.1)

---
updated-dependencies:
- dependency-name: jest-mock-extended
  dependency-version: 4.0.1
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 6, 2026
@dependabot dependabot Bot requested a review from a team as a code owner May 6, 2026 08:50
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants