Docs (4.0.0)
class Assertion method

toEqual

Asserts that the value is loosely equal to given value (using the == operator).

toEqual(value: any): void

Related