Chetan Agrawal
AboutContact

Node.js Blog

Spread vs Push in Large Arrays - Javascript
Spread vs Push in Large Arrays - Javascript
Spread vs Push in Large Arrays - Javascript
This article demonstrates via experimentation how spread operation is very expensive & why push operation is a better choice when it comes to performing large array merges
May 7, 2025
Node.js
Software Development
Javascript
Backend
Incremental Code Coverage checks with Jest
Incremental Code Coverage checks with Jest
This article explores the importance of incremental code coverage checks using Jest and provides a step-by-step guide on how to run coverage reports for only the newly made changes in your codebase. With code snippets and examples, the article also explains how to define coverage thresholds and fail tests if the coverage falls below the specified threshold. By following these best practices, you can improve the quality and reliability of your code, speed up your test runs, and ensure that your code meets the same quality standards across your entire codebase.
Apr 8, 2023
Node.js
Web Dev
Tech
Software Development
React.js
Jest
Copyright 2025 Chetan Agrawal