Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Update upsert-link.test.ts

Steven Teyc0fb1be84d78
diff --git a/apps/web/tests/links/upsert-link.test.ts b/apps/web/tests/links/upsert-link.test.ts
index f53358fe0d..5563571b83 100644
--- a/apps/web/tests/links/upsert-link.test.ts
+++ b/apps/web/tests/links/upsert-link.test.ts
@@ -1,9 +1,10 @@
import { Link } from "@prisma/client";
import { afterAll, describe, expect, test } from "vitest";
import { IntegrationHarness } from "../utils/integration";
+import { link } from "../utils/resource";
import { expectedLink } from "../utils/schema";
-const domain = "dub.sh";
+const { domain } = link;
const url = "https://github.com/dubinc/dub/pull/888";
describe.sequential("PUT /links/upsert", async () => {