(arrayWrapper, mapFunction)
| 138 | } |
| 139 | |
| 140 | export const mapArrayWrapper = (arrayWrapper, mapFunction) => { |
| 141 | const result = [] |
| 142 | |
| 143 | for (let i = 0; i < arrayWrapper.length; i++) { |
| 144 | const element = arrayWrapper.at(i) |
| 145 | |
| 146 | result.push(mapFunction(element)) |
| 147 | } |
| 148 | |
| 149 | return result |
| 150 | } |
| 151 | |
| 152 | export const awaitVisible = async (element, maxTimeout) => { |
| 153 | for (let awaited = 0; awaited < maxTimeout; awaited += 10) { |
no test coverage detected