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

Function singleUserWeb

packages/core/api/src/admin/admin-users.test.ts:871–878  ·  view source on GitHub ↗
(db: SqliteTestFumaDb, resolved?: string[])

Source from the content-addressed store, hash-verified

869 // -------------------------------------------------------------------------
870
871 const singleUserWeb = (db: SqliteTestFumaDb, resolved?: string[]) =>
872 webHandlerFor(
873 stubProvider(
874 (tenant) => platformExecutorFor(db, tenant),
875 headerAuthorize,
876 stubUserDirectory(resolved ? { resolved } : {}),
877 ),
878 );
879
880 it.effect("returns one user with identity and connections in a single call", () =>
881 withDb((db) =>

Callers 1

Calls 4

stubProviderFunction · 0.85
platformExecutorForFunction · 0.85
stubUserDirectoryFunction · 0.85
webHandlerForFunction · 0.70

Tested by

no test coverage detected