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 tests

Steven Tey919a2317c2eb
diff --git a/apps/web/tests/commissions/index.test.ts b/apps/web/tests/commissions/index.test.ts
index 36fde67bbf..1b01dbceb0 100644
--- a/apps/web/tests/commissions/index.test.ts
+++ b/apps/web/tests/commissions/index.test.ts
@@ -14,6 +14,8 @@ const expectedCommission = {
updatedAt: expect.any(String),
partner: expect.any(Object),
customer: expect.any(Object),
+ invoiceId: expect.any(String).nullable(),
+ description: expect.any(String).nullable(),
};
describe.sequential("/commissions/**", async () => {
@@ -39,7 +41,6 @@ describe.sequential("/commissions/**", async () => {
expect(commissions.length).toBeGreaterThan(0);
expect(commissions[0]).toMatchObject({
...expectedCommission,
- invoiceId: null,
description: null,
});