MCPcopy
hub / github.com/freshframework/fresh / handler

Function handler

packages/fresh/src/fs_routes_test.tsx:106–106  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

104
105Deno.test("fsRoutes - registers fn handler for every method", async () => {
106 const handler: HandlerFn<unknown, unknown> = () => new Response("ok");
107 const server = await createServer({
108 "routes/all.ts": { handlers: handler },
109 });

Callers 6

handlerMethod · 0.70
createTestFunction · 0.50
cors_test.tsFile · 0.50
createTestsFunction · 0.50
csp_test.tsxFile · 0.50
main.tsxFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected