The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update stale tests
Rafia848b8d490a0
diff --git a/apps/web/tests/partners/get-partners-route-query.test.ts b/apps/web/tests/partners/get-partners-route-query.test.tsindex 976892afee..d503b859ba 100644--- a/apps/web/tests/partners/get-partners-route-query.test.ts+++ b/apps/web/tests/partners/get-partners-route-query.test.ts@@ -17,7 +17,14 @@ describe("getPartnersRouteQuerySchema", () => {});it("still accepts the legacy sort aliases", () => {- for (const sortBy of ["clicks", "leads", "conversions", "saleAmount"]) {+ for (const sortBy of [+ "clicks",+ "leads",+ "conversions",+ "sales",+ "saleAmount",+ "totalSales",+ ]) {expect(accepts({ sortBy })).toBe(true);}});diff --git a/apps/web/tests/partners/upstash-redis-partner-search-provider.test.ts b/apps/web/tests/partners/upstash-redis-partner-search-provider.test.tsindex 33b3c7c318..c4248db554 100644--- a/apps/web/tests/partners/upstash-redis-partner-search-provider.test.ts+++ b/apps/web/tests/partners/upstash-redis-partner-search-provider.test.ts@@ -285,7 +285,6 @@ describe("Upstash Redis partner search provider", () => {const documents = Array.from({ length: 101 }, (_, index) => ({...document,id: `pge_${index}`,- partnerTagIds: [],}));await provider.upsert(documents);