This repository was archived by the owner on Oct 31, 2025. It is now read-only.
chore(deps): update dependency axios-mock-adapter to v2#986
Closed
renovate[bot] wants to merge 1 commit intomasterfrom
Closed
chore(deps): update dependency axios-mock-adapter to v2#986renovate[bot] wants to merge 1 commit intomasterfrom
renovate[bot] wants to merge 1 commit intomasterfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #986 +/- ##
=======================================
Coverage 71.04% 71.04%
=======================================
Files 133 133
Lines 3454 3454
Branches 980 982 +2
=======================================
Hits 2454 2454
+ Misses 957 954 -3
- Partials 43 46 +3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
9fa6f30 to
3840ae1
Compare
3840ae1 to
e537974
Compare
63ed5d7 to
4bbdb57
Compare
4bbdb57 to
7876ffc
Compare
7876ffc to
3ac23c2
Compare
ffa9f0c to
b35f168
Compare
b35f168 to
b167491
Compare
229230b to
b09b534
Compare
DawoudSheraz
approved these changes
Feb 20, 2025
b09b534 to
052e17e
Compare
052e17e to
aea9918
Compare
aea9918 to
c5ca42d
Compare
1f8b0dc to
1538dbf
Compare
1538dbf to
1109eb2
Compare
c7b4a84 to
c8b9b18
Compare
9a303b6 to
751266d
Compare
593247a to
2d1781c
Compare
25bfae0 to
59db9f0
Compare
364fb70 to
7b8ee6c
Compare
082936f to
6491a31
Compare
a528b3b to
f53ec1f
Compare
f53ec1f to
6325376
Compare
6325376 to
6fdf687
Compare
6fdf687 to
ca90134
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.22.0->2.1.0Release Notes
ctimmerm/axios-mock-adapter (axios-mock-adapter)
v2.1.0Compare Source
v2.0.0Compare Source
Breaking Changes 💥
Drop node versions lower than v18 (#390)
Change the parameters of the methods to align it to the one of axios. (#387)
The last parameter must be a config object with
{params, headers}instead of just the headers.If you've always only used two parameters, you won't have to change anything.
Methods with data param:
mock.onPost(url, data, headers)>mock.onPost(url, data, {params, headers})mock.onPut(url, data, headers)>mock.onPost(url, data, {params, headers})mock.onPatch(url, data, headers)>mock.onPatch(url, data, {params, headers})mock.onAny(url, data, headers)>mock.onAny(url, {data, params, headers})Methods without data param:
mock.onGet(url, {params}, headers)>mock.onGet(url, {params, headers})mock.onDelete(url, {params}, headers)>mock.onDelete(url, {params, headers})mock.onHead(url, {params}, headers)>mock.onHead(url, {params, headers})mock.onOptions(url, {params}, headers)>mock.onOptions(url, {params, headers})An error is reported if one accidentally passes the headers directly instead of `{headers: {}}.
e.g.
Error: Invalid config property Header-test provided to onPatch. Config: {"Header-test":"test-header"}Configuration
📅 Schedule: Branch creation - "every weekday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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.
This PR was generated by Mend Renovate. View the repository job log.