Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

test(email): preserve schema helpers in invite delivery fixture

Rishabh Bothra52989620920e
diff --git a/apps/web/__tests__/unit/organization-invite-delivery.test.ts b/apps/web/__tests__/unit/organization-invite-delivery.test.ts
index 0df89c938..ad60b129b 100644
--- a/apps/web/__tests__/unit/organization-invite-delivery.test.ts
+++ b/apps/web/__tests__/unit/organization-invite-delivery.test.ts
@@ -19,6 +19,7 @@ vi.mock("@cap/database/emails/organization-invite", () => ({
OrganizationInvite: (props: unknown) => props,
}));
vi.mock("@cap/database/helpers", () => ({
+ nanoIdLength: 15,
nanoId: () => `invite-${++mocks.sequence}`,
}));
vi.mock("@cap/env", () => ({