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 index.test.ts

Kiran K73e224faa1f5
diff --git a/apps/web/tests/redirects/index.test.ts b/apps/web/tests/redirects/index.test.ts
index 9be1d69829..4d4a94f461 100644
--- a/apps/web/tests/redirects/index.test.ts
+++ b/apps/web/tests/redirects/index.test.ts
@@ -118,7 +118,7 @@ describe.runIf(env.CI)("Link Redirects", async () => {
const response = await fetch(`${h.baseUrl}/gps`, fetchOptions);
// location to include referrer query param with the short link (https://dub.sh/gps)
expect(response.headers.get("location")).toMatch(
- /referrer=https:\/\/dub\.sh\/gps/,
+ /referrer=deepLink%3Dhttps%3A%2F%2Fdub\.sh%2Fgps/,
);
expect(response.headers.get("x-powered-by")).toBe(poweredBy);
expect(response.status).toBe(302);