(sessionId: string)
| 242 | }; |
| 243 | |
| 244 | const awaitResult = (sessionId: string): OAuthPopupResult<unknown> => ({ |
| 245 | type: OAUTH_POPUP_MESSAGE_TYPE, |
| 246 | ok: false, |
| 247 | sessionId, |
| 248 | error: "access denied", |
| 249 | }); |
| 250 | |
| 251 | it("holds the await request open and answers the moment the result publishes", async () => { |
| 252 | const baseUrl = await startTestServer(); |