used to perform a not(VerifyMatcher.compare()) comparison between the expected and actual result like:
not(VerifyMatcher.compare())
expected
actual
const t = new AftTest('description', () => null);await t.verify(5, not(equaling(10))); // succeedsawait t.verify(null, not(exactly(undefined))); // succeedsawait t.verify([1, 2, 3], not(containing(5))); // succeedsawait t.verify(null, not(havingValue())); // succeeds Copy
const t = new AftTest('description', () => null);await t.verify(5, not(equaling(10))); // succeedsawait t.verify(null, not(exactly(undefined))); // succeedsawait t.verify([1, 2, 3], not(containing(5))); // succeedsawait t.verify(null, not(havingValue())); // succeeds
a {VerifyMatcher} to negate
a new Negate instance
Negate
Generated using TypeDoc
used to perform a
not(VerifyMatcher.compare())
comparison between theexpected
andactual
result like: