Skip to content

chore(deps): update dependency jest-fetch-mock to v4.2.0#74

Merged
renovate[bot] merged 1 commit into
mainfrom
renovate/jest-fetch-mock-4.x
Jul 9, 2026
Merged

chore(deps): update dependency jest-fetch-mock to v4.2.0#74
renovate[bot] merged 1 commit into
mainfrom
renovate/jest-fetch-mock-4.x

Conversation

@renovate

@renovate renovate Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
jest-fetch-mock 4.1.04.2.0 age confidence

Release Notes

jefflau/jest-fetch-mock (jest-fetch-mock)

v4.2.0

Compare Source

Added
  • Route-based mocking (#​171): fetchMock.route(urlOrPredicate, bodyOrFunction?, init?) and routeOnce(...) register matcher→response pairs that coexist, plus clearRoutes(). First registered match serves. Precedence: queued once-responses > routes > the conditional gate and ambient mockResponse; a matching route fires even under dontMock() (mock only known endpoints, let the rest hit the network); mockReject/mockAbort override routes. resetMocks() clears routes.

Configuration

📅 Schedule: (UTC)

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

🚦 Automerge: Enabled.

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

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


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

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot merged commit a0f24f9 into main Jul 9, 2026
5 checks passed
@renovate renovate Bot deleted the renovate/jest-fetch-mock-4.x branch July 9, 2026 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants