()
| 186 | |
| 187 | |
| 188 | def test_push_list(): |
| 189 | items = [1, 2, 3] |
| 190 | result = [None] |
| 191 | pm.eval("(result, arr) => {result[0] = arr.push([4,5])}")(result, items) |
| 192 | assert items == [1, 2, 3, [4, 5]] |
| 193 | assert result[0] == 4 |
| 194 | |
| 195 | # shift |
| 196 |
nothing calls this directly
no outgoing calls
no test coverage detected