The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update setupTests.ts
Kiran Keb7a5143bfa7
diff --git a/apps/web/tests/setupTests.ts b/apps/web/tests/setupTests.tsindex 066c0bf6a9..f6af3b91a4 100644--- a/apps/web/tests/setupTests.ts+++ b/apps/web/tests/setupTests.ts@@ -1,4 +1,7 @@import crypto from "node:crypto";-// @ts-ignore-globalThis.crypto = crypto;+Object.defineProperty(globalThis, "crypto", {+ value: crypto,+ writable: false, // Ensure it's not writable+ configurable: true, // Allow reconfiguration if needed+});