(promise)
| 126 | } |
| 127 | |
| 128 | function assertIsPromise(promise) { |
| 129 | // Make sure the returned promise is a genuine %Promise% object and not a |
| 130 | // subclass instance. |
| 131 | assert.strictEqual(Object.getPrototypeOf(promise), Promise.prototype); |
| 132 | PromisePrototypeThen(promise, common.mustCall()); |
| 133 | } |
no outgoing calls
no test coverage detected