(cb)
| 1194 | }); |
| 1195 | |
| 1196 | function givenReplicatedInstance(cb) { |
| 1197 | SourceModel.create({name: 'a-name'}, function(err, inst) { |
| 1198 | if (err) return cb(err); |
| 1199 | |
| 1200 | SourceModel.checkpoint(function(err) { |
| 1201 | if (err) return cb(err); |
| 1202 | |
| 1203 | cb(null, inst); |
| 1204 | }); |
| 1205 | }); |
| 1206 | } |
| 1207 | |
| 1208 | function assertChangeRecordedForId(id, cb) { |
| 1209 | SourceModel.getChangeModel().getCheckpointModel() |
no outgoing calls
no test coverage detected
searching dependent graphs…