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

Function singleUserWeb

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

Source from the content-addressed store, hash-verified

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

Callers 1

Calls 4

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

Tested by

no test coverage detected