Re: [streams-tests] ReadableStream: pipeThrough() is not fooled by a fake Promise (#5519)

My comment was not so much about asserting method invocation (or lack thereof)
but about the object under test.  Whether or not it is a "fake" Promise (e.g.
created via `Object.create` and lacking the Promise's internal slots), the
expectations stated here hold. Using `Object.create` seems like an irrelevant
condition. I may be mistaken, but it seems to confuse the intent of the test
and also make it less generic.

View on GitHub: https://github.com/w3c/web-platform-tests/pull/5519#issuecomment-293282328

Received on Tuesday, 11 April 2017 14:32:53 UTC