• used to perform a not(VerifyMatcher.compare()) comparison between the expected and actual result like:

    const t = new AftTest('description', () => null);
    await t.verify(5, not(equaling(10))); // succeeds
    await t.verify(null, not(exactly(undefined))); // succeeds
    await t.verify([1, 2, 3], not(containing(5))); // succeeds
    await t.verify(null, not(havingValue())); // succeeds

    Parameters

    Returns Negate

    a new Negate instance

Generated using TypeDoc