All files / channel/src/__tests__ WebSocketMockServerConnection.ts

100% Statements 4/4
100% Branches 0/0
100% Functions 1/1
100% Lines 4/4

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 102x         2x 34x 34x    
import {Subject} from 'rxjs';
 
/**
 * Represents a server-side connection, which is connected to a client WebSocket.
 */
export class WebSocketMockServerConnection {
  public incoming$: Subject<Uint8Array> = new Subject();
  public outgoing$: Subject<Uint8Array> = new Subject();
}