(promise)
| 8677 | "use strict"; |
| 8678 | module.exports = function(Promise) { |
| 8679 | function PromiseInspection(promise) { |
| 8680 | if (promise !== undefined) { |
| 8681 | promise = promise._target(); |
| 8682 | this._bitField = promise._bitField; |
| 8683 | this._settledValueField = promise._isFateSealed() |
| 8684 | ? promise._settledValue() : undefined; |
| 8685 | } |
| 8686 | else { |
| 8687 | this._bitField = 0; |
| 8688 | this._settledValueField = undefined; |
| 8689 | } |
| 8690 | } |
| 8691 | |
| 8692 | PromiseInspection.prototype._settledValue = function() { |
| 8693 | return this._settledValueField; |
nothing calls this directly
no outgoing calls
no test coverage detected