Re: [whatwg/streams] Write tests for the fixes in #870 (#879)

There were several ways to hit asserts before #870 was landed, but since you can no longer get past the constructor, the tests became boring. Now I just test that various combinations of good and bad arguments to the constructor don't result in you getting an object.

I found some testing gaps around re-using a BYOBRequest, and added tests to cover those in the same PR.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/issues/879#issuecomment-366248333

Received on Friday, 16 February 2018 14:23:31 UTC