MCPcopy
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

1import { expect } from 'chai';
2
3import { type MongoClient, MongoServerError } from '../../mongodb';
4import { setupDatabase } from '../shared';

Callers

nothing calls this directly

Calls 12

setupDatabaseFunction · 0.90
itFunction · 0.85
writeConcernMaxMethod · 0.80
createIndexesMethod · 0.80
insertOneMethod · 0.80
findOneMethod · 0.80
collectionMethod · 0.65
newClientMethod · 0.45
connectMethod · 0.45
closeMethod · 0.45
dbMethod · 0.45
createCollectionMethod · 0.45

Tested by

no test coverage detected