Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/mongodb/node-mongodb-native
/ error.test.ts
File
error.test.ts
test/unit/error.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ expect } from
'chai'
;
2
import
{ setTimeout } from
'timers'
;
3
4
// Exception to the import from mongodb rule we're unit testing our public Errors API
Callers
nothing calls this directly
Calls
15
cleanup
Function · 0.90
isHello
Function · 0.90
topologyWithPlaceholderClient
Function · 0.90
it
Function · 0.85
setDifference
Function · 0.85
isStateChangeError
Function · 0.85
ns
Function · 0.85
makeAndConnectReplSet
Function · 0.85
needsRetryableWriteLabel
Function · 0.85
isRetryableReadError
Function · 0.85
isResumableError
Function · 0.85
setMessageHandler
Method · 0.80
Tested by
no test coverage detected