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

Method options

packages/fresh/src/test_utils.ts:51–55  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

49 return await this.handler(req, STUB);
50 }
51 async options(path: string): Promise<Response> {
52 const url = this.toUrl(path);
53 const req = new Request(url, { method: "options" });
54 return await this.handler(req, STUB);
55 }
56
57 async request(req: Request): Promise<Response> {
58 return await this.handler(req, STUB);

Callers

nothing calls this directly

Calls 2

toUrlMethod · 0.95
handlerMethod · 0.80

Tested by

no test coverage detected