MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / stubDirectory

Function stubDirectory

packages/core/api/src/admin/admin-users.test.ts:375–379  ·  view source on GitHub ↗
(seen: string[][])

Source from the content-addressed store, hash-verified

373 */
374const stubDirectory =
375 (seen: string[][]): AdminIdentityDirectory =>
376 (externalIds) => {
377 seen.push([...externalIds]);
378 return Effect.succeed(new Map([[USER_A1, { email: "a1@users.test", displayName: "User A1" }]]));
379 };
380
381/** The email the stub directory knows USER_A1 by. Stored MIXED-CASE on
382 * purpose: WorkOS preserves whatever casing a user was created with, so the

Callers 1

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected