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 analytics test to use https://dub.sh/checkly-check

Kiran K34efb9f123a5
diff --git a/apps/web/tests/analytics/utils.ts b/apps/web/tests/analytics/utils.ts
index ea5c418717..7ce41cb737 100644
--- a/apps/web/tests/analytics/utils.ts
+++ b/apps/web/tests/analytics/utils.ts
@@ -1,5 +1,5 @@
export const filter = {
domain: "dub.sh",
- key: "dummy",
+ key: "checkly-check",
interval: "30d",
};
diff --git a/apps/web/tests/redirects/index.test.ts b/apps/web/tests/redirects/index.test.ts
index 648ece29c1..e883a18583 100644
--- a/apps/web/tests/redirects/index.test.ts
+++ b/apps/web/tests/redirects/index.test.ts
@@ -23,7 +23,10 @@ describe.runIf(env.CI)("Link Redirects", async () => {
});
test("regular", async () => {
- const response = await fetch(`${h.baseUrl}/checkly-check`, fetchOptions);
+ const response = await fetch(`${h.baseUrl}/checkly-check`, {
+ ...fetchOptions,
+ headers: {},
+ });
expect(response.headers.get("location")).toBe("https://www.checklyhq.com/");
expect(response.headers.get("x-powered-by")).toBe(poweredBy);