()
| 87 | } |
| 88 | |
| 89 | async blob(): Promise<Blob> { |
| 90 | if (this.bodyUsed) throw new TypeError("Body already consumed"); |
| 91 | (this as any).bodyUsed = true; |
| 92 | // @ts-expect-error |
| 93 | return new MockBlob([this.#bytes ?? new Uint8Array(0)]); |
| 94 | } |
| 95 | |
| 96 | async formData(): Promise<FormData> { |
| 97 | if (this.bodyUsed) throw new TypeError("Body already consumed"); |
no outgoing calls
no test coverage detected