()
| 2013 | |
| 2014 | |
| 2015 | def test_findIndex_check_index(): |
| 2016 | items = [4, 2, 6, 7] |
| 2017 | result = [''] |
| 2018 | pm.eval("(result, arr) => {arr.findIndex((x, index) => result[0] += index)}")(result, items) |
| 2019 | assert items == [4, 2, 6, 7] |
| 2020 | assert result[0] == '0123' |
| 2021 | |
| 2022 | |
| 2023 | def test_findIndex_check_array(): |
nothing calls this directly
no outgoing calls
no test coverage detected