vweevers / stream-test

Test suite for stream implementors.
MIT License
1 stars 2 forks source link

Facilitate testing order of events? #1

Closed ralphtheninja closed 6 years ago

ralphtheninja commented 6 years ago

I was thinking (maybe premature) that we could make it easier to test order of events by pulling in stream-observer and implementing the monitor functionality we use in level-ws and level-iterator-stream etc.

@vweevers Not a fully baked idea, but maybe it fits better in your head :smile:

vweevers commented 6 years ago

https://github.com/vweevers/stream-test/blob/ccfeb431c107ff73636dcf512b53362b3a714b50/readable.js#L165-L174

ralphtheninja commented 6 years ago

Haha, ahead of me :wink: