MCPcopy Create free account
hub / github.com/FernhillFable/cluster / testOpCommit

Function testOpCommit

test/db.js:143–148  ·  view source on GitHub ↗
(ops, snapshot)

Source from the content-addressed store, hash-verified

141 }
142
143 function testOpCommit(ops, snapshot) {
144 expect(snapshot.v).equal(2);
145 expect(ops.length).equal(2);
146 expect(ops[0].create).ok;
147 expect(ops[1].op).ok;
148 }
149
150 function testDelCommit(ops, snapshot) {
151 expect(snapshot.v).equal(2);

Callers 1

testOpOrDelCommitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected