Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
it('ignores an unknown type', () => {
const err = new errors.Generic();
expect(isKnownError(err)).to.be(false);
});
it('ignores an unknown type', () => {
const err = new errors.Generic();
expect(isAuthError(err)).to.be(false);
});