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

Function serviceWith

apps/cloud/src/auth/org-api-key-mint.node.test.ts:51–54  ·  view source on GitHub ↗
(overrides: Record<string, unknown>)

Source from the content-addressed store, hash-verified

49 );
50
51const serviceWith = (overrides: Record<string, unknown>) =>
52 ApiKeyService.asEffect().pipe(
53 Effect.provide(ApiKeyService.WorkOS.pipe(Layer.provide(stubWorkOS(overrides)))),
54 );
55
56describe("organization API keys", () => {
57 it.effect("mints an org-owned key and returns the one-time secret", () =>

Callers 1

Calls 1

stubWorkOSFunction · 0.70

Tested by

no test coverage detected