(path: string, body?: BodyInit)
| 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 }); |