()
| 2021 | |
| 2022 | |
| 2023 | def test_findIndex_check_array(): |
| 2024 | items = ['Four', 'Three', 'One'] |
| 2025 | result = [''] |
| 2026 | pm.eval("(result, arr) => {arr.findIndex((element, index, array) => result[0] = array)}")(result, items) |
| 2027 | assert result == [items] |
| 2028 | assert result[0] is items |
| 2029 | |
| 2030 | |
| 2031 | def test_findIndex_check_this_arg(): |
nothing calls this directly
no outgoing calls
no test coverage detected