(headers: Record<string, string>)
| 116 | ); |
| 117 | |
| 118 | const 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 | |
| 124 | describe("billing route org selector", () => { |
| 125 | it.effect("fails closed when no selector header is sent", () => |
no test coverage detected