Skip to content

Conversation

@denis-rossati
Copy link
Member

Summary

This PR will update the fetch-mock library from ^9 to ^12, adpating the code to the new mock interface.

Also, the test environment was changed to "jest-fixed-jsdom" since it patches the implementations of Request, Response and Headers globals, which are lacking in "jsdom" since it expect us to add polyfills for those globals.

Related issues

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules
  • I have checked my code and corrected any misspellings

@pkg-pr-new
Copy link

pkg-pr-new bot commented Jan 28, 2026

Open in StackBlitz

npm i https://pkg.pr.new/@croct/sdk@488

commit: 8239b75

@marcospassos marcospassos merged commit cebfc81 into master Jan 28, 2026
7 checks passed
@marcospassos marcospassos deleted the bump-fetch-mock branch January 28, 2026 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bump node-fetch dependency on SDK

3 participants