()
| 1876 | |
| 1877 | |
| 1878 | def test_find_check_index(): |
| 1879 | items = [4, 2, 6, 7] |
| 1880 | result = [''] |
| 1881 | pm.eval("(result, arr) => {arr.find((x, index) => result[0] += index)}")(result, items) |
| 1882 | assert items == [4, 2, 6, 7] |
| 1883 | assert result[0] == '0123' |
| 1884 | |
| 1885 | |
| 1886 | def test_find_check_array(): |
nothing calls this directly
no outgoing calls
no test coverage detected