Docs (4.0.0)
class NegatedAssertion method

toHaveProperties

Asserts that the value is an object that doesn’t include the same properties with the same values (strict equals) as the specified object.

toHaveProperties(object: any): void

Related

  • class NegatedAssertionRepresents a value ready to be asserted, using inverse logic.
  • toHaveProperties(object)Asserts that the value is an object that includes the same properties with the same values (strict equals) as the specified object.