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 · test/unit/mongo_client.test.ts::parse
()
Source
from the content-addressed store, hash-verified
644
645
it(
class
="st">'errors with multiple hosts',
function
() {
646
const
parse = () => {
647
parseOptions(
class
="st">'mongodb:
class
="cm">//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