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

Function singleUserWeb

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

Source from the content-addressed store, hash-verified

862 // -------------------------------------------------------------------------
863
864 const singleUserWeb = (db: SqliteTestFumaDb, resolved?: string[]) =>
865 webHandlerFor(
866 stubProvider(
867 (tenant) => platformExecutorFor(db, tenant),
868 headerAuthorize,
869 stubUserDirectory(resolved ? { resolved } : {}),
870 ),
871 );
872
873 it.effect("returns one user with identity and connections in a single call", () =>
874 withDb((db) =>

Callers 1

Calls 4

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

Tested by

no test coverage detected