()
| 946 | |
| 947 | |
| 948 | def test_forEach_check_array(): |
| 949 | items = ['Four', 'Three', 'One'] |
| 950 | result = [''] |
| 951 | pm.eval("(result, arr) => {arr.forEach((element, index, array) => result[0] = array)}")(result, items) |
| 952 | assert result == [items] |
| 953 | assert result[0] is items |
| 954 | |
| 955 | |
| 956 | def test_forEach_check_this_arg(): |
nothing calls this directly
no outgoing calls
no test coverage detected