mirror of
https://github.com/better-auth/better-auth.git
synced 2026-10-20 20:26:55 -05:00
test: fix node.js 25 compatibility
This commit is contained in:
@@ -2,7 +2,6 @@ import { defineConfig } from "vitest/config";
|
||||
|
||||
export default defineConfig({
|
||||
test: {
|
||||
setupFiles: ["./vitest.setup.ts"],
|
||||
poolOptions: {
|
||||
forks: {
|
||||
execArgv: ["--expose-gc"],
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
if (
|
||||
typeof globalThis.localStorage !== "undefined" &&
|
||||
+process.versions.node.split(".")[0]! >= 25
|
||||
) {
|
||||
// @ts-expect-error
|
||||
globalThis.localStorage = undefined;
|
||||
}
|
||||
Reference in New Issue
Block a user