Skip to content

test: remove node-fetch references in zisi package #6382

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 27, 2025

Conversation

mrstork
Copy link
Contributor

@mrstork mrstork commented May 23, 2025

Summary

Now that we use node >18 we can drop the node-fetch polyfill from the package
Part of FRB-1833


For us to review and ship your PR efficiently, please perform the following steps:

  • Open a bug/issue before writing your code 🧑‍💻. This ensures
    we can discuss the changes and get feedback from everyone that should be involved. If you`re fixing a typo or
    something that`s on fire 🔥 (e.g. incident related), you can skip this step.
  • Read the contribution guidelines 📖. This ensures
    your code follows our style guide and passes our tests.
  • Update or add tests (if any source code was changed or added) 🧪
  • Update or add documentation (if features were changed or added) 📝
  • Make sure the status checks below are successful ✅

A picture of a cute animal (not mandatory, but encouraged)

@mrstork mrstork marked this pull request as ready for review May 23, 2025 16:53
@mrstork mrstork requested a review from a team as a code owner May 23, 2025 16:53
Comment on lines -899 to -901
testMany(
'Exposes the main export of `node-fetch` when imported using `require()`',
[...allBundleConfigs],
Copy link
Member

Choose a reason for hiding this comment

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

Whew, it took me a few hops to find this but here's where this was introduced: netlify/zip-it-and-ship-it#353. I'm a little worried that I don't fully understand the intent of this, so maybe we should wait for a thumbs up from @eduardoboucas on this one.

Copy link
Member

Choose a reason for hiding this comment

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

... although it's just removing a test, so I'll approve and we can always revert if necessary!

@mrstork mrstork enabled auto-merge (squash) May 27, 2025 02:56
@mrstork mrstork merged commit 8fc1c8a into main May 27, 2025
34 checks passed
@mrstork mrstork deleted the zisi-remove-node-fetch branch May 27, 2025 03:20
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.

2 participants