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 - Jest) or can be independent library like Chai.js

Share:

About

My name is Max, also known as @mxkvl.

I am a software developer, currently working mostly with TypeScript, React and Node ecosystems.

I write a blog about topics that interest me most: programming languages in general, TypeScript, testing, writing and other great stuff.

Join the Mailing List