chore(deps): update dependency jest-mock-extended to v4.0.1

This MR contains the following updates:

Package Change Age Confidence
jest-mock-extended 4.0.04.0.1 age confidence

Release Notes

marchaos/jest-mock-extended (jest-mock-extended)

v4.0.1

Compare Source

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.

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Whenever MR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Mend Renovate.

Edited by Renovate Bot

Merge request reports

Loading