(mockDispatch2, { path: path4, method, body, headers })
| 10961 | return headers.get(key); |
| 10962 | } else { |
| 10963 | return lowerCaseEntries(headers)[key.toLocaleLowerCase()]; |
| 10964 | } |
| 10965 | } |
| 10966 | function buildHeadersFromArray(headers) { |
| 10967 | const clone = headers.slice(); |
| 10968 | const entries = []; |
| 10969 | for (let index = 0; index < clone.length; index += 2) { |
| 10970 | entries.push([clone[index], clone[index + 1]]); |
| 10971 | } |
| 10972 | return Object.fromEntries(entries); |
no test coverage detected