We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c53c390 commit 42efc45Copy full SHA for 42efc45
core/lib/__tests__/utils.ts
@@ -12,7 +12,7 @@ export const mockServerCode = async () => {
12
13
return {
14
testDb,
15
- getLoginData: vi.fn(),
+ getLoginData: vi.fn(() => ({ user: { isSuperAdmin: false } })),
16
findCommunityBySlug: vi.fn(),
17
};
18
});
0 commit comments