Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
it('errors on malformed Channel', () => {
// $ExpectError `Channel` instances must take a `Socket` as the final param
const channel = new Channel('foo', {});
})