MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / run

Function run

apps/cloud/src/auth/workos-callback-state.node.test.ts:175–179  ·  view source on GitHub ↗
(request: Request)

Source from the content-addressed store, hash-verified

173});
174
175const 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
181const callbackUrl = (state?: string, code = "code_1") =>
182 `https://executor.test/auth/callback${state ? `?state=${encodeURIComponent(state)}` : ""}${state ? "&" : "?"}code=${code}`;

Calls

no outgoing calls

Tested by

no test coverage detected