(mockDispatch2, { path: path4, method, body, headers })
| 10961 | if (typeof match === "function") { |
| 10962 | return match(value) === true; |
| 10963 | } |
| 10964 | return false; |
| 10965 | } |
| 10966 | function lowerCaseEntries(headers) { |
| 10967 | return Object.fromEntries( |
| 10968 | Object.entries(headers).map(([headerName, headerValue]) => { |
| 10969 | return [headerName.toLocaleLowerCase(), headerValue]; |
| 10970 | }) |
| 10971 | ); |
| 10972 | } |
no test coverage detected