()
| 1862 | |
| 1863 | |
| 1864 | def test_find_found_twice(): |
| 1865 | items = [5, 12, 8, 130, 4] |
| 1866 | result = [0] |
| 1867 | pm.eval("(result, arr) => {result[0] = arr.find((element) => element > 10)}")(result, items) |
| 1868 | assert result[0] == 12 |
| 1869 | |
| 1870 | |
| 1871 | def test_find_not_found(): |
nothing calls this directly
no outgoing calls
no test coverage detected