(done)
| 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) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…