()
| 1577 | |
| 1578 | |
| 1579 | def test_some_true(): |
| 1580 | items = [1, 2, 3, 4, 5] |
| 1581 | result = [None] |
| 1582 | pm.eval("(result, arr) => {result[0] = arr.some((element) => element % 2 === 0)}")(result, items) |
| 1583 | assert items == [1, 2, 3, 4, 5] |
| 1584 | assert result[0] |
| 1585 | |
| 1586 | |
| 1587 | def test_some_false(): |
nothing calls this directly
no outgoing calls
no test coverage detected