Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/mongodb/node-mongodb-native
/ server_errors.test.ts
File
server_errors.test.ts
test/integration/crud/server_errors.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ expect } from
'chai'
;
2
3
import
{
type
MongoClient, MongoServerError } from
'../../mongodb'
;
4
import
{ setupDatabase } from
'../shared'
;
Callers
nothing calls this directly
Calls
12
setupDatabase
Function · 0.90
it
Function · 0.85
writeConcernMax
Method · 0.80
createIndexes
Method · 0.80
insertOne
Method · 0.80
findOne
Method · 0.80
collection
Method · 0.65
newClient
Method · 0.45
connect
Method · 0.45
close
Method · 0.45
db
Method · 0.45
createCollection
Method · 0.45
Tested by
no test coverage detected