(name: string, onAuthorization?: (authorizationUrl: string) => void)
| 161 | }) |
| 162 | |
| 163 | const authenticateScoped = (name: string, onAuthorization?: (authorizationUrl: string) => void) => |
| 164 | Effect.gen(function* () { |
| 165 | const mcp = yield* service |
| 166 | yield* mcp.authenticate(name, onAuthorization).pipe( |
| 167 | Effect.ignore, |
| 168 | Effect.catchCause(() => Effect.void), |
| 169 | Effect.forkScoped, |
| 170 | ) |
| 171 | }) |
| 172 | |
| 173 | mcpTest.instance( |
| 174 | "BrowserOpenFailed event is published when open() throws", |
no test coverage detected