The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update upsert-link.test.ts
Steven Tey64c98cebf352
diff --git a/apps/web/tests/links/upsert-link.test.ts b/apps/web/tests/links/upsert-link.test.tsindex acbfffd2b2..49b92cf160 100644--- a/apps/web/tests/links/upsert-link.test.ts+++ b/apps/web/tests/links/upsert-link.test.ts@@ -6,7 +6,7 @@ import { link } from "../utils/resource";import { expectedLink } from "../utils/schema";const { domain } = link;-const url = `https://example.com/${randomId}`;+const url = `https://example.com/${randomId()}`;describe.sequential("PUT /links/upsert", async () => {const h = new IntegrationHarness();@@ -31,7 +31,7 @@ describe.sequential("PUT /links/upsert", async () => {const { data: updatedLink } = await http.put<Link>({path: "/links/upsert",query: { workspaceId },- body: { url },+ body: { domain, url },});expect(updatedLink).toStrictEqual({