MCPcopy Create free account
hub / github.com/apache/cassandra-nodejs-driver / getClientFake

Function getClientFake

test/unit/execution-options-tests.js:224–230  ·  view source on GitHub ↗
(executionProfile, clientOptions)

Source from the content-addressed store, hash-verified

222}
223
224function getClientFake(executionProfile, clientOptions) {
225 return {
226 profileManager: { getProfile: x => executionProfile || new ExecutionProfile(x || 'default') },
227 options: clientOptions || defaultOptions(),
228 controlConnection: { protocolVersion: 4 }
229 };
230}

Callers 1

Calls 1

defaultOptionsFunction · 0.85

Tested by

no test coverage detected