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 track-lead.test.ts

Steven Teyeab83240c2e9
diff --git a/apps/web/tests/tracks/track-lead.test.ts b/apps/web/tests/tracks/track-lead.test.ts
index 2f85712b11..63e75f8f7f 100644
--- a/apps/web/tests/tracks/track-lead.test.ts
+++ b/apps/web/tests/tracks/track-lead.test.ts
@@ -95,7 +95,7 @@ describe("POST /track/lead", async () => {
});
});
- test("track a lead with sync mode", async () => {
+ test("track a lead with mode = 'wait'", async () => {
const customer3 = randomCustomer();
const response = await http.post<TrackLeadResponse>({
path: "/track/lead",
@@ -106,7 +106,7 @@ describe("POST /track/lead", async () => {
customerName: customer3.name,
customerEmail: customer3.email,
customerAvatar: customer3.avatar,
- mode: "sync",
+ mode: "wait",
},
});
expect(response.status).toEqual(200);