MCPcopy
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

1import { expect } from 'chai';
2
3import { Collection, type Db, type MongoClient, MongoServerError } from '../../mongodb';
4import { type TestConfiguration } from '../../tools/runner/config';

Callers

nothing calls this directly

Calls 15

setupDatabaseFunction · 0.90
itFunction · 0.85
testCappedFunction · 0.85
writeConcernMaxMethod · 0.80
collectionsMethod · 0.80
toArrayMethod · 0.80
listCollectionsMethod · 0.80
insertOneMethod · 0.80
countDocumentsMethod · 0.80
findOneMethod · 0.80
matchMethod · 0.80
indexExistsMethod · 0.80

Tested by

no test coverage detected