chore!: remove fakeXMLHttpRequest and fakeServer#2642
Merged
Conversation
|
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2642 +/- ##
==========================================
- Coverage 96.10% 96.05% -0.06%
==========================================
Files 40 40
Lines 1951 1926 -25
==========================================
- Hits 1875 1850 -25
Misses 76 76
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
fatso83
approved these changes
Mar 19, 2025
Contributor
fatso83
left a comment
There was a problem hiding this comment.
It's time. We might want to add some notes to the migration-guide.md about alternatives (msw, etc).
BREAKING CHANGE: remove fakeXMLHttpRequest and fakeServer from the API
9a7967b to
4cdbfea
Compare
Member
Author
|
This has been published to the npm registry as part of |
Member
Author
I've created #2652 so we won't forget this |
8 tasks
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
BREAKING CHANGE: remove fakeXMLHttpRequest and fakeServer from the API
Times have changed, and people shouldn't be using these anymore, but prefer better options for testing their remote requests.
How to verify - mandatory
npm installnpm testChecklist for author
npm run lintpasses