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

Function stubDirectory

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

Source from the content-addressed store, hash-verified

365 */
366const stubDirectory =
367 (seen: string[][]): AdminIdentityDirectory =>
368 (externalIds) => {
369 seen.push([...externalIds]);
370 return Effect.succeed(new Map([[USER_A1, { email: "a1@users.test", displayName: "User A1" }]]));
371 };
372
373/** The email the stub directory knows USER_A1 by. Stored MIXED-CASE on
374 * 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