Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Eliminate jest-fetch-mock-fork #2173

Merged
merged 1 commit into from
Feb 24, 2024

Conversation

steveluscher
Copy link
Contributor

@steveluscher steveluscher commented Feb 24, 2024

Summary

In this massive PR we eliminate the fetch mocking framework. The only module that should be mocking all the way down to fetch is the module that depends directly on fetch – @solana/rpc-transport-http. Everything else should be able to mock one or several layers higher.

Closes #1867.

@steveluscher
Copy link
Contributor Author

steveluscher commented Feb 24, 2024

Copy link

socket-security bot commented Feb 24, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@types/[email protected] None 0 4 MB types

🚮 Removed packages: npm/[email protected]

View full report↗︎

@steveluscher steveluscher force-pushed the 02-24-Eliminate_jest-fetch-mock-fork_ branch from ce9d0f3 to 87662a3 Compare February 24, 2024 07:28
@steveluscher steveluscher merged commit ac2c1c8 into master Feb 24, 2024
10 checks passed
@steveluscher steveluscher deleted the 02-24-Eliminate_jest-fetch-mock-fork_ branch February 24, 2024 07:42
Copy link
Contributor

@buffalojoec buffalojoec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doing the lord's work.

Copy link
Contributor

github-actions bot commented Mar 2, 2024

🎉 This PR is included in version 1.90.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Copy link
Contributor

Because there has been no activity on this PR for 14 days since it was merged, it has been automatically locked. Please open a new issue if it requires a follow up.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[experimental] Eliminate jest-fetch-mock
2 participants