Assertion

It provides the ability to write code in test to check expected value and output value (the result of phase Act from Arrange-Act-Assert).

This functionality can be a part of the testing framework (example - JestJS) or can be independent library like Chai.js