MCPcopy Index your code
hub / github.com/freshframework/fresh / patch

Method patch

packages/fresh/src/test_utils.ts:31–35  ·  view source on GitHub ↗
(path: string, body?: BodyInit)

Source from the content-addressed store, hash-verified

29 return await this.handler(req, STUB);
30 }
31 async patch(path: string, body?: BodyInit): Promise<Response> {
32 const url = this.toUrl(path);
33 const req = new Request(url, { method: "patch", body });
34 return await this.handler(req, STUB);
35 }
36 async put(path: string, body?: BodyInit): Promise<Response> {
37 const url = this.toUrl(path);
38 const req = new Request(url, { method: "put", body });

Callers

nothing calls this directly

Calls 2

toUrlMethod · 0.95
handlerMethod · 0.80

Tested by

no test coverage detected