used to perform a a === b comparison between the expected and actual result like:
a === b
expected
actual
const t = new AftTest('description', () => null);await t.verify(() => 5, exactly(5)); // succeedsawait t.verify(() => undefined, exactly(null)); // failsawait t.verify(() => true, exactly(false)); // fails Copy
const t = new AftTest('description', () => null);await t.verify(() => 5, exactly(5)); // succeedsawait t.verify(() => undefined, exactly(null)); // failsawait t.verify(() => true, exactly(false)); // fails
the expected value
a new Exactly instance
Exactly
Generated using TypeDoc
used to perform a
a === b
comparison between theexpected
andactual
result like: