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

Function run

apps/cloud/src/extensions/billing/route.node.test.ts:118–122  ·  view source on GitHub ↗
(headers: Record<string, string>)

Source from the content-addressed store, hash-verified

116);
117
118const run = (headers: Record<string, string>) =>
119 resolveBillingOrganization(
120 new Request("https://executor.test/api/billing/customer", { headers }),
121 { userId: MEMBER },
122 ).pipe(Effect.provide(Layer.mergeAll(stubWorkOS, stubUsers, stubDirectory, stubMirror)));
123
124describe("billing route org selector", () => {
125 it.effect("fails closed when no selector header is sent", () =>

Callers 1

route.node.test.tsFile · 0.70

Calls 1

Tested by

no test coverage detected