MCPcopy
hub / github.com/strongloop/loopback / mockSourceModelRectify

Function mockSourceModelRectify

test/replication.test.js:238–252  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

236 });
237
238 function mockSourceModelRectify() {
239 const calls = [];
240
241 SourceModel.rectifyChange = function(id, cb) {
242 calls.push('rectifyChange');
243 process.nextTick(cb);
244 };
245
246 SourceModel.rectifyAllChanges = function(cb) {
247 calls.push('rectifyAllChanges');
248 process.nextTick(cb);
249 };
250
251 return calls;
252 }
253
254 function mockTargetModelRectify() {
255 const calls = [];

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…