rsi.server icon indicating copy to clipboard operation
rsi.server copied to clipboard

Add WebSocket testing

Open wzr1337 opened this issue 7 years ago • 1 comments

We need to add tests for WebSockets. Subscriptions etc.

like this:

describe('general WebSocket Test', () => {

  it('Should receive an acknowledgement on subscription', (done: DoneFn) => {
    wsTest('/some/resource/').subscribe((data) => {
        expect(data).not.toBeUndefined();
   })
    done();
  });

});

wzr1337 avatar Apr 05 '17 19:04 wzr1337

we can base of https://github.com/INRIX-paul-boyes/ws-test maybe

wzr1337 avatar Apr 05 '17 19:04 wzr1337