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

Function newConnectionMock

test/unit/host-tests.js:540–546  ·  view source on GitHub ↗

* @returns {Connection}

(properties)

Source from the content-addressed store, hash-verified

538 * @returns {Connection}
539 */
540function newConnectionMock(properties) {
541 return utils.extend({
542 close: helper.noop,
543 closeAsync: () => Promise.resolve(),
544 getInFlight: helper.functionOf(0)
545 }, properties);
546}

Callers 1

host-tests.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected