• Robert Knight's avatar
    Avoid exposing _socket in streamer.connect() response · e5a1ee05
    Robert Knight authored
    streamer.connect() exposed the WebSocket instance as
    a private _socket property on the response for use
    in the tests.
    
    This removes the need for that by capturing the most
    recently constructed FakeSocket instance in the constructor.
    e5a1ee05
streamer.js 3.46 KB