You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tamzid Alam Alvi edited this page Sep 5, 2021
·
9 revisions
Unit Testing using Jest Framework
Installation Process
For installation, go to the given link Jest FrameworkJest Setup
Overview
Jest is a JavaScript testing framework designed to ensure correctness of any JavaScript codebase. It allows you to write tests with an approachable, familiar and feature-rich API that gives you results quickly.
Test Case
A test case is the individual unit of testing. It checks for a specific response to a particular set of inputs. Jest provides a 'test()' function, which may be used to create new test cases.