(db)
| 8444 | // and override the default behavior |
| 8445 | /* istanbul ignore next */ |
| 8446 | function customViewCleanup(db) { |
| 8447 | return new Promise(function (resolve, reject) { |
| 8448 | db._viewCleanup(function (err, res$$1) { |
| 8449 | if (err) { |
| 8450 | return reject(err); |
| 8451 | } |
| 8452 | resolve(res$$1); |
| 8453 | }); |
| 8454 | }); |
| 8455 | } |
| 8456 | |
| 8457 | function defaultsTo(value) { |
| 8458 | return function (reason) { |
no outgoing calls
no test coverage detected
searching dependent graphs…