()
| 2506 | |
| 2507 | |
| 2508 | def test_iterator_first_next(): |
| 2509 | items = [1, 2] |
| 2510 | result = [0] |
| 2511 | pm.eval("(result, arr) => { result[0] = arr[Symbol.iterator]().next()}")(result, items) |
| 2512 | assert result[0].value == 1 |
| 2513 | assert not result[0].done |
| 2514 | |
| 2515 | |
| 2516 | def test_iterator_second_next(): |
nothing calls this directly
no outgoing calls
no test coverage detected