You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You are right @martineizayaga. I tested it again and it works. I guess there was some kind of an environment issue on my local machine at that moment. Thanks for pointing out.
it('test case', () => { expect(new Error).to.be.an('error'); })When the code above is executed, "AssertionError: expected [Error] to be an error" is thrown.
According to the docs this behavior is not natural.
The text was updated successfully, but these errors were encountered: