()
| 2222 | |
| 2223 | |
| 2224 | def test_flatMap_check_array(): |
| 2225 | items = ['Four', 'Three', 'One'] |
| 2226 | result = [''] |
| 2227 | pm.eval("(result, arr) => {arr.flatMap((element, index, array) => result[0] = array)}")(result, items) |
| 2228 | assert result == [items] |
| 2229 | assert result[0] is items |
| 2230 | |
| 2231 | |
| 2232 | def test_flatMap_check_this_arg(): |
nothing calls this directly
no outgoing calls
no test coverage detected