| 2 | import formDataToStream from '../../../lib/helpers/formDataToStream.js'; |
| 3 | |
| 4 | class SpecFormData { |
| 5 | constructor() { |
| 6 | this._entries = []; |
| 7 | this[Symbol.toStringTag] = 'FormData'; |
| 8 | } |
| 9 | append(name, value) { |
| 10 | this._entries.push([name, value]); |
| 11 | } |
| 12 | entries() { |
| 13 | return this._entries[Symbol.iterator](); |
| 14 | } |
| 15 | [Symbol.iterator]() { |
| 16 | return this._entries[Symbol.iterator](); |
| 17 | } |
| 18 | } |
| 19 | |
| 20 | const makeBlobLike = ({ type, name, size, payload }) => ({ |
| 21 | type, |
nothing calls this directly
no outgoing calls
no test coverage detected