(request: Request)
| 173 | }); |
| 174 | |
| 175 | const run = (request: Request) => { |
| 176 | // beta.59: the handler type expects a context argument; this layer stack |
| 177 | // needs none at runtime — pass undefined like the api.request-scope tests. |
| 178 | return app.handler(request, undefined as never); |
| 179 | }; |
| 180 | |
| 181 | const callbackUrl = (state?: string, code = "code_1") => |
| 182 | `https://executor.test/auth/callback${state ? `?state=${encodeURIComponent(state)}` : ""}${state ? "&" : "?"}code=${code}`; |
no outgoing calls
no test coverage detected