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 index.test.ts

Steven Teyfa7ca4ea037a
diff --git a/apps/web/tests/commissions/index.test.ts b/apps/web/tests/commissions/index.test.ts
index 6fb649cb40..0730dc194c 100644
--- a/apps/web/tests/commissions/index.test.ts
+++ b/apps/web/tests/commissions/index.test.ts
@@ -105,6 +105,8 @@ describe.sequential("/commissions/**", async () => {
body: toUpdate,
});
+ console.log("commission", commission);
+
expect(status).toEqual(200);
expect(commission.amount).toBeLessThan(6000);
expect(commission.amount).toBeGreaterThanOrEqual(3000); // 100 MYR should be around 23 USD and hence 6000 - 2300 = 3700