MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / setUserAuth

Function setUserAuth

apps/web/src/app/api/exa/[...path]/route.test.ts:61–67  ·  view source on GitHub ↗
(id = 'user-123', organizationId?: string)

Source from the content-addressed store, hash-verified

59 method: 'POST',
60 headers: { 'Content-Type': 'application/json', ...headers },
61 body: JSON.stringify(body),
62 });
63}
64
65function setUserAuth(id = 'user-123', organizationId?: string) {
66 mockedGetUserFromAuth.mockResolvedValue({
67 user: { id } as User,
68 authFailedResponse: null,
69 organizationId,
70 });

Callers 1

route.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected