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

Method write

test/unit/basic-tests.js:868–871  ·  view source on GitHub ↗
(buffer, cb)

Source from the content-addressed store, hash-verified

866
867 class SocketMock extends events.EventEmitter {
868 write(buffer, cb) {
869 setImmediate(cb);
870 return writeReturnValue;
871 }
872 }
873
874 const socket = sinon.spy(new SocketMock());

Callers 6

simulacron.jsFile · 0.45
requests-test.jsFile · 0.45
testCloneFunction · 0.45
testRequestLengthFunction · 0.45
getStringBufferFunction · 0.45
testGenerateTimestampFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected