• used to perform a a === b comparison between the expected and actual result like:

    const t = new AftTest('description', () => null);
    await t.verify(() => 5, exactly(5)); // succeeds
    await t.verify(() => undefined, exactly(null)); // fails
    await t.verify(() => true, exactly(false)); // fails

    Parameters

    • expected: any

      the expected value

    Returns Exactly

    a new Exactly instance

Generated using TypeDoc