Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/mongodb/node-mongodb-native
/ collection.test.ts
File
collection.test.ts
test/integration/collection-management/collection.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ expect } from
'chai'
;
2
3
import
{ Collection,
type
Db,
type
MongoClient, MongoServerError } from
'../../mongodb'
;
4
import
{
type
TestConfiguration } from
'../../tools/runner/config'
;
Callers
nothing calls this directly
Calls
15
setupDatabase
Function · 0.90
it
Function · 0.85
testCapped
Function · 0.85
writeConcernMax
Method · 0.80
collections
Method · 0.80
toArray
Method · 0.80
listCollections
Method · 0.80
insertOne
Method · 0.80
countDocuments
Method · 0.80
findOne
Method · 0.80
match
Method · 0.80
indexExists
Method · 0.80
Tested by
no test coverage detected