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.

fix test

Steven Teya41680488d1a
diff --git a/apps/web/tests/redirects/index.test.ts b/apps/web/tests/redirects/index.test.ts
index 36e977c817..c1410944ed 100644
--- a/apps/web/tests/redirects/index.test.ts
+++ b/apps/web/tests/redirects/index.test.ts
@@ -121,7 +121,7 @@ describe.runIf(env.CI)("Link Redirects", async () => {
test("with case-sensitive (incorrect) key", async () => {
const response = await fetch(`${h.baseUrl}/case`, fetchOptions);
- expect(response.headers.get("location")).toBe("https://dub.co");
+ expect(response.headers.get("location")).toBe("https://dub.co/");
expect(response.headers.get("x-powered-by")).toBe(poweredBy);
expect(response.status).toBe(302);
});