()
| 252 | } |
| 253 | |
| 254 | function mockTargetModelRectify() { |
| 255 | const calls = []; |
| 256 | |
| 257 | TargetModel.rectifyChange = function(id, cb) { |
| 258 | calls.push('rectifyChange'); |
| 259 | process.nextTick(cb); |
| 260 | }; |
| 261 | |
| 262 | TargetModel.rectifyAllChanges = function(cb) { |
| 263 | calls.push('rectifyAllChanges'); |
| 264 | process.nextTick(cb); |
| 265 | }; |
| 266 | |
| 267 | return calls; |
| 268 | } |
| 269 | }); |
| 270 | |
| 271 | describe('Model.changes(since, filter, callback)', function() { |
no outgoing calls
no test coverage detected
searching dependent graphs…