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

Function testOpOrDelCommit

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

Source from the content-addressed store, hash-verified

157 }
158
159 function testOpOrDelCommit(ops, snapshot) {
160 if (ops[1].op) {
161 testOpCommit(ops, snapshot);
162 } else {
163 testDelCommit(ops, snapshot);
164 }
165 }
166
167 it('one commit succeeds from 2 simultaneous ops', function(done) {
168 var ops = [

Callers

nothing calls this directly

Calls 2

testOpCommitFunction · 0.85
testDelCommitFunction · 0.85

Tested by

no test coverage detected