Problem Statement
Why is Jest popular for testing Node.js apps?
Explanation
Jest provides zero-configuration testing with built-in mocks, snapshot testing, and parallel execution. It’s widely used for both backend and frontend testing in JavaScript projects.
Code Solution
SolutionRead Only
test('adds 2 + 2',()=>{
expect(2+2).toBe(4);
});