(server: ReturnType<typeof Bun.serve>)
| 39 | } |
| 40 | |
| 41 | function serverOptions(server: ReturnType<typeof Bun.serve>) { |
| 42 | return { |
| 43 | authorizeUrl: new URL("/oauth2/authorize", server.url).toString(), |
| 44 | tokenUrl: new URL("/oauth2/token", server.url).toString(), |
| 45 | deviceAuthorizationUrl: new URL("/oauth2/device/code", server.url).toString(), |
| 46 | } |
| 47 | } |
| 48 | |
| 49 | describe("plugin.xai", () => { |
| 50 | describe("accessTokenIsExpiring", () => { |