Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
.then((result) => {
expect(result).toEqual('echo: 1,ws,true');
return new HttpProvider('http://localhost:9901')
.send('echo', [1, 'http', true])
.then((result) => {
expect(result).toEqual('echo: 1,http,true');
});
});
});