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.

Test the match threshold relative to JEV_MATCH_THRESHOLD

Rafi47ee2385342c
diff --git a/apps/web/tests/partners/evaluate-partner-application.test.ts b/apps/web/tests/partners/evaluate-partner-application.test.ts
index 33db9eb27e..f8299d2137 100644
--- a/apps/web/tests/partners/evaluate-partner-application.test.ts
+++ b/apps/web/tests/partners/evaluate-partner-application.test.ts
@@ -11,7 +11,7 @@ describe("isConfidentMatch", () => {
});
it("does not match below the threshold", () => {
- expect(isConfidentMatch(0.84)).toBe(false);
+ expect(isConfidentMatch(JEV_MATCH_THRESHOLD - 0.01)).toBe(false);
expect(isConfidentMatch(0)).toBe(false);
});