MCPcopy Create free account
hub / github.com/share/sharedb / testCreateCommit

Function testCreateCommit

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

Source from the content-addressed store, hash-verified

111 }
112
113 function testCreateCommit(ops, snapshot) {
114 expect(snapshot.v).eql(1);
115 expect(ops.length).equal(1);
116 expect(ops[0].create).ok;
117 }
118
119 it('one commit succeeds from 2 simultaneous creates', function(done) {
120 var ops = [

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…