* Creates a dummy host map containing the key as key and value * @param {Array} hosts * @returns {HostMap}
(hosts)
| 587 | * @returns {HostMap} |
| 588 | */ |
| 589 | function createHostMap(hosts) { |
| 590 | const map = new HostMap(); |
| 591 | for (let i = 0; i < hosts.length; i++) { |
| 592 | map.set(hosts[i], hosts[i]); |
| 593 | } |
| 594 | return map; |
| 595 | } |
| 596 | |
| 597 | /** |
| 598 | * |
no test coverage detected