(s)
| 128 | it("self.doStuff via thisValue param", function() { |
| 129 | const history = []; |
| 130 | const log = function(s) { |
| 131 | expect(s).toEqual("hello"); |
| 132 | return history.push(s); |
| 133 | }; |
| 134 | const thisValue = {say: log}; |
| 135 | thisValue.moveDown = function() { |
| 136 | expect(this).toEqual(thisValue); |
nothing calls this directly
no outgoing calls
no test coverage detected