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