Closed marvinhagemeister closed 1 month ago
Latest commit: 5243473ef94c1810e78704f4eb4d04c5e5643051
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
Summary
This is more of a maintenance change. The Node docs officially recommend to switch to
globalThis
instead ofglobal
, see https://nodejs.org/api/globals.html#global .globalThis
is available in all other runtimes as well which makes the test suite easier to run outside of node. I'm working on getting vitest to run in Deno and I'm using urql's test suite for that.Set of changes
Replaces usages of
global
in the test suite toglobalThis
.