()
| 345 | |
| 346 | |
| 347 | def test_indexOf(): |
| 348 | items = [1, 2, 3, 1] |
| 349 | result = [None] |
| 350 | pm.eval("(result, arr) => {result[0] = arr.indexOf(1)}")(result, items) |
| 351 | assert result[0] == 0 |
| 352 | |
| 353 | |
| 354 | def test_indexOf_with_start(): |
nothing calls this directly
no outgoing calls
no test coverage detected