()
| 1123 | |
| 1124 | |
| 1125 | def test_map_check_index(): |
| 1126 | items = [4, 2, 6, 7] |
| 1127 | result = [''] |
| 1128 | pm.eval("(result, arr) => {arr.map((x, index) => result[0] += index)}")(result, items) |
| 1129 | assert items == [4, 2, 6, 7] |
| 1130 | assert result[0] == '0123' |
| 1131 | |
| 1132 | |
| 1133 | def test_map_check_array(): |
nothing calls this directly
no outgoing calls
no test coverage detected