(path: string, body?: BodyInit)
| 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 }); |
| 39 | return await this.handler(req, STUB); |
| 40 | } |
| 41 | async delete(path: string): Promise<Response> { |
| 42 | const url = this.toUrl(path); |
| 43 | const req = new Request(url, { method: "delete" }); |