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

Function mockRectifyAllChanges

test/replication.test.js:127–136  ·  view source on GitHub ↗
(Model)

Source from the content-addressed store, hash-verified

125 });
126
127 function mockRectifyAllChanges(Model) {
128 const calls = [];
129
130 Model.rectifyAllChanges = function(cb) {
131 calls.push('rectifyAllChanges');
132 process.nextTick(cb);
133 };
134
135 return calls;
136 }
137 });
138
139 describe('optimization check rectifyChange Vs rectifyAllChanges', function() {

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…