Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
it.skip('starts and accepts requests, sending responses (WS)', () => {
config.rpc.types = ['ws'];
server = new Rpc(config, {}, handlers); // eslint-disable-line
return new WsProvider('ws://localhost:9901')
.send('echo', [1, 'ws', true])
.then((result) => {
expect(result).toEqual('echo: 1,ws,true');
});
});