Skip to content
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

fix: make fetchMock globally available again #29

Merged
merged 1 commit into from
Oct 28, 2024
Merged

Conversation

dirkluijk
Copy link
Collaborator

Fixes #28, a regression that was introduced in 820015b.

Although I think this it's a bad idea to just install stuff in the global scope, let's keep this to remain backwards compatible for now.

We could remove this in a future version and add a migration instruction to use rely on locally installed instances instead.

@dirkluijk dirkluijk requested a review from IanVS October 28, 2024 09:03
@dirkluijk dirkluijk changed the title fix: make global fetchMock available again fix: make fetchMock globally available again Oct 28, 2024
Copy link
Owner

@IanVS IanVS left a comment

Choose a reason for hiding this comment

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

Thanks for the quick fix. I agree this is sub-optimal, but we should give folks some warning before removing it.

@IanVS IanVS merged commit 17f9f68 into main Oct 28, 2024
3 checks passed
@IanVS IanVS deleted the fix-global-fetch-mock branch October 28, 2024 12:25
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.

fetchMock is not defined after upgrading to 0.4.0
2 participants