Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

refactor(tests): format email dispatch guard test for improved readability

Victor Hugo dos Santos54d613c14625
diff --git a/backend/src/services/auth/email-dispatch-guard.test.ts b/backend/src/services/auth/email-dispatch-guard.test.ts
index 904c844d13..283fa4d6b9 100644
--- a/backend/src/services/auth/email-dispatch-guard.test.ts
+++ b/backend/src/services/auth/email-dispatch-guard.test.ts
@@ -182,7 +182,10 @@ describe("emailDispatchGuard", () => {
keyStore.ttl.mockResolvedValue(42);
const err = await expectRejected(
- guard.startMailboxCooldown({ purpose: EmailDispatchPurpose.Signup, mailboxHash: hmac("[email protected]") }),
+ guard.startMailboxCooldown({
+ purpose: EmailDispatchPurpose.Signup,
+ mailboxHash: hmac("[email protected]")
+ }),
BadRequestError
);