MCPcopy Create free account
hub / github.com/RisingStack/trace-nodejs / cb

Function cb

lib/instrumentations/utils/wrapQuery.spec.js:50–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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',

Callers 15

trace.jsFile · 0.85
wrapQuery.spec.jsFile · 0.85
queryFunction · 0.85
request.spec.jsFile · 0.85
control.spec.jsFile · 0.85
index.spec.jsFile · 0.85
index.spec.jsFile · 0.85
index.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected