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

Function singleUserWeb

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

Source from the content-addressed store, hash-verified

877 // -------------------------------------------------------------------------
878
879 const singleUserWeb = (db: SqliteTestFumaDb, resolved?: string[]) =>
880 webHandlerFor(
881 stubProvider(
882 (tenant) => platformExecutorFor(db, tenant),
883 headerAuthorize,
884 stubUserDirectory(resolved ? { resolved } : {}),
885 ),
886 );
887
888 it.effect("returns one user with identity and connections in a single call", () =>
889 withDb((db) =>

Callers 1

Calls 4

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

Tested by

no test coverage detected