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

File error.test.ts

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

Source from the content-addressed store, hash-verified

1import { expect } from 'chai';
2import { setTimeout } from 'timers';
3
4// Exception to the import from mongodb rule we're unit testing our public Errors API

Callers

nothing calls this directly

Calls 15

cleanupFunction · 0.90
isHelloFunction · 0.90
itFunction · 0.85
setDifferenceFunction · 0.85
isStateChangeErrorFunction · 0.85
nsFunction · 0.85
makeAndConnectReplSetFunction · 0.85
needsRetryableWriteLabelFunction · 0.85
isRetryableReadErrorFunction · 0.85
isResumableErrorFunction · 0.85
setMessageHandlerMethod · 0.80

Tested by

no test coverage detected