Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/mongodb/node-mongodb-native
/ parse
Function
parse
test/unit/mongo_client.test.ts:646–648 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
644
645
it(
'errors with multiple hosts'
,
function
() {
646
const
parse = () => {
647
parseOptions(
'mongodb://a,b/?loadBalanced=true'
);
648
};
649
expect(parse).to.throw(/single host/);
650
});
651
Callers
1
main
Function · 0.85
Calls
1
parseOptions
Function · 0.85
Tested by
no test coverage detected