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 tests

Steven Teyd2f9f2e2eeb6
diff --git a/apps/web/tests/utils/schema.ts b/apps/web/tests/utils/schema.ts
index a000df56d9..9a33af0f01 100644
--- a/apps/web/tests/utils/schema.ts
+++ b/apps/web/tests/utils/schema.ts
@@ -2,6 +2,7 @@ import { Link, Project, Tag } from "@prisma/client";
import { expect } from "vitest";
export const expectedLink: Partial<Link> & {
+ identifier: null;
tagId: string | null;
tags: [];
webhookIds: string[];
@@ -35,6 +36,7 @@ export const expectedLink: Partial<Link> & {
leads: 0,
sales: 0,
saleAmount: 0,
+ identifier: null, // backwards compatibility
tagId: null, // backwards compatibility
comments: null,
tags: [],