MCPcopy
hub / github.com/mongodb/node-mongodb-native / server_selection.test.ts

File server_selection.test.ts

test/unit/sdam/server_selection.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { ObjectId } from 'bson';
2import { expect } from 'chai';
3import * as sinon from 'sinon';
4

Callers

nothing calls this directly

Calls 10

sameServerSelectorFunction · 0.85
itFunction · 0.85
setMethod · 0.80
selectServerMethod · 0.80
mapMethod · 0.45
hasMethod · 0.45
hostAddressMethod · 0.45
cleanupMethod · 0.45

Tested by

no test coverage detected