(opts)
| 11153 | } else if (data instanceof ArrayBuffer) { |
| 11154 | return data; |
| 11155 | } else if (typeof data === "object") { |
| 11156 | return JSON.stringify(data); |
| 11157 | } else { |
| 11158 | return data.toString(); |
| 11159 | } |
| 11160 | } |
| 11161 | function getMockDispatch(mockDispatches, key) { |
| 11162 | const basePath = key.query ? buildURL(key.path, key.query) : key.path; |
| 11163 | const resolvedPath = typeof basePath === "string" ? safeUrl(basePath) : basePath; |
no test coverage detected