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

Function stubDirectory

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

Source from the content-addressed store, hash-verified

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