()
| 48 | cb() |
| 49 | }) |
| 50 | function cb () { |
| 51 | expect(agent.tracer.collector.clientSend).to.have.been.calledWith({ |
| 52 | action: 'fakeMethod', |
| 53 | data: undefined, |
| 54 | host: 'fakeHost', |
| 55 | protocol: 'protocol', |
| 56 | resource: 'fakeUrl', |
| 57 | severity: 0 |
| 58 | }) |
| 59 | done() |
| 60 | } |
| 61 | wrapQuery(query, [cb], agent, { |
| 62 | protocol: 'protocol', |
| 63 | url: 'fakeUrl', |
no outgoing calls
no test coverage detected