(
operation: string,
effect: Effect.Effect<A, TestWorkOSVaultError>,
)
| 178 | }); |
| 179 | |
| 180 | const wrap = <A>( |
| 181 | operation: string, |
| 182 | effect: Effect.Effect<A, TestWorkOSVaultError>, |
| 183 | ): Effect.Effect<A, WorkOSVaultClientError> => |
| 184 | effect.pipe( |
| 185 | Effect.mapError((cause) => new WorkOSVaultClientError({ cause, operation })), |
| 186 | Effect.withSpan(`workos_vault.test.${operation}`), |
| 187 | ); |
| 188 | |
| 189 | // Promise-shaped facade exposed to `use` callers, which may be plugin code |
| 190 | // that still calls into the underlying SDK directly via `client.use(...)`. |
no outgoing calls
no test coverage detected