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, equaling(5)); // succeedsawait t.verify(() => undefined, equaling(null)); // succeedsawait t.verify(() => true, equaling(false)); // fails Copy
const t = new AftTest('description', () => null);await t.verify(() => 5, equaling(5)); // succeedsawait t.verify(() => undefined, equaling(null)); // succeedsawait t.verify(() => true, equaling(false)); // fails
the expected value
a new Equaling instance
Equaling
Generated using TypeDoc
used to perform a
a == b
comparison between theexpected
andactual
result like: