Each assertion should test one condition and have only one reason to fail or succeed. If an assertion success depends on multiple conditions it becomes difficult to understand if the test passed for the right reason. It also makes debugging more difficult when the test fails.
This rule raises an issue when the following Chai assertions are found:
* When ``++.not++`` and https://www.chaijs.com/api/bdd/#method_throw[``++.throw++``] are used together and at least one argument is provided to ``++.throw++``. Such assertions succeed when the target either does not throw any exception, or when it throws an exception different from the one provided.
* When ``++.not++`` and https://www.chaijs.com/api/bdd/#method_include[``++.include++``] are used together and an ``++object++`` is given to ``++.include++``. Such assertions succeed when one or multiple key/values are missing.
* When ``++.not++`` and https://www.chaijs.com/api/bdd/#method_property[``++.property++``] are used together and ``++.property++`` is given at least two arguments. Such assertions succeed when the target either doesn't have the requested property, or when this property exists but has a different value.
* When ``++.not++`` and https://www.chaijs.com/api/bdd/#method_ownpropertydescriptor[``++.ownPropertyDescriptor++``] are used together and ``++.ownPropertyDescriptor++`` is given at least two arguments. Such assertions succeed when the target either doesn't have the requested property descriptor, or its property descriptor is not deeply equal to the given descriptor
* When ``++.not++`` and https://www.chaijs.com/api/bdd/#method_members[``++.members++``] are used together. Such assertions succeed when one or multiple members are missing.
* When https://www.chaijs.com/api/bdd/#method_change[``++.change++``] and https://www.chaijs.com/api/bdd/#method_by[``++.by++``] are used together. Such assertions succeed when the target either decreases or increases by the given delta
* When ``++.not++`` and https://www.chaijs.com/api/bdd/#method_increase[``++.increase++``] are used together. Such assertions succeed when the target either decreases or stays the same.
* When ``++.not++`` and https://www.chaijs.com/api/bdd/#method_decrease[``++.decrease++``] are used together. Such assertions succeed when the target either increases or stays the same.
* When ``++.not++`` negates https://www.chaijs.com/api/bdd/#method_decrease[``++.by++``]. Such assertions succeed when the target didn't change by one specific delta among all the possible deltas.
* When ``++.not++`` and https://www.chaijs.com/api/bdd/#method_decrease[``++.finite++``] are used together. Such assertions succeed when the target either is not a ``++number++``, or is one of ``++Nan++``, positive ``++Infinity++``, negative ``++Infinity++``.