Closed
Description
Specification
We're missing tests for streams, these need to be created. We should use fast-check to generate random data for streams. There are a few things we need to test.
- Streams work, the can be created, data sent and closed.
- Multiple streams work without issue
- Streams are cleaned up when the connection cleans up
- Streams propagate errors where required. EG general communication failure, stream was destroyed, connection was destroyed, ect.
Additional context
Tasks
- Test for stream creation.
- Test for stream destruction.
- Test for sending data through stream
- Errors propagate through streams
- Streams clean up during connection clean up.