Asserts for equality between two objects. Returns the value wrapped around the assertion.
[1, 2, 3, 4].should.equal([1, 2, 3, 4]); 255.should.equal(10); // Throws an Exception "expected 255 to equal 10"
See Implementation
Asserts for equality between two objects. Returns the value wrapped around the assertion.