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

File document.test.ts

test/unit/cmap/wire_protocol/on_demand/document.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { Binary, BSON, BSONError, BSONType, ObjectId, Timestamp } from 'bson';
2import { expect } from 'chai';
3
4import { OnDemandDocument, runNodelessTests } from '../../../../mongodb';

Callers

nothing calls this directly

Calls 7

ensureTypeByNameFunction · 0.90
itFunction · 0.85
failMethod · 0.80
getNumberMethod · 0.80
hasMethod · 0.45
toObjectMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected