[PR #5918] test: fix node.js 25 compatibility #14568

Closed
opened 2026-04-13 09:31:52 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/better-auth/better-auth/pull/5918

State: closed
Merged: Yes


Related: https://github.com/nodejs/node/releases/tag/v25.2.0
Upstream: https://github.com/nodejs/node/pull/60351


Summary by cubic

Fix Vitest on Node.js 25 by removing the setup that unsets globalThis.localStorage, and bumping/patching MSW to avoid localStorage usage in Node. Tests now run on Node 25’s default environment without overrides.

Written for commit dc24624b11. Summary will update automatically on new commits.

**Original Pull Request:** https://github.com/better-auth/better-auth/pull/5918 **State:** closed **Merged:** Yes --- Related: https://github.com/nodejs/node/releases/tag/v25.2.0 Upstream: https://github.com/nodejs/node/pull/60351 <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Fix Vitest on Node.js 25 by removing the setup that unsets globalThis.localStorage, and bumping/patching MSW to avoid localStorage usage in Node. Tests now run on Node 25’s default environment without overrides. <sup>Written for commit dc24624b11ec42b52f34efccf65df201699ad421. Summary will update automatically on new commits.</sup> <!-- End of auto-generated description by cubic. -->
GiteaMirror added the pull-request label 2026-04-13 09:31:52 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#14568