Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RisingStack/trace-nodejs
/ query
Function
query
lib/instrumentations/utils/wrapQuery.spec.js:77–79 ·
view source on GitHub ↗
(cb)
Source
from the content-addressed store, hash-verified
75
76
it(
'should pass the callback'
,
function
() {
77
var
query =
function
(cb) {
78
expect(cb).to.be.a(
'function'
)
79
}
80
var
cb = this.sandbox.spy()
81
82
wrapQuery(query, [ cb ], agent, {
Callers
nothing calls this directly
Calls
1
cb
Function · 0.85
Tested by
no test coverage detected