A basic demo on using JavaScript Testing Framework - Jest.
I have created a function (calculateSum) to add two numbers and using the JEST testing framework. I am asserting the value of the resultset. Based on the assertion the test cases are passed or failed.