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

Function seedClientData

test/replication.rest.test.js:620–638  ·  view source on GitHub ↗
(done)

Source from the content-addressed store, hash-verified

618 }
619
620 function seedClientData(done) {
621 async.series([
622 function(next) {
623 clientApp.dataSources.db.automigrate(next);
624 },
625 function(next) {
626 LocalCar.create(
627 [{maker: 'Local', model: 'Custom'}],
628 function(err, cars) {
629 if (err) return next(err);
630
631 clientCars = cars.map(carToString);
632
633 next();
634 },
635 );
636 },
637 ], done);
638 }
639
640 function seedConflict(done) {
641 LocalCar.replicate(ServerCar, function(err, conflicts) {

Callers

nothing calls this directly

Calls 1

nextFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…