© 2026 Hashnode
Testing is not just about verifying if code runs. It’s about verifying that your app behaves correctly from the user’s perspective. Jest + React Testing Library (RTL) gives a powerful combination to achieve this. 1. Filtering Tests in Watch Mode When...

Pre-commit Hooks with Husky Installation & Setup First, install Husky and enable it in your project: npm install --save-dev husky npx husky install Also, make sure you add this to your package.json: "scripts": { "prepare": "husky install" } Confi...

Today marks the beginning of a series of posts about Node.js and Express, where we will explore various aspects to consider when developing an API. Setting up a robust development environment is crucial for building maintainable Node.js applications....

Whether you’re coding solo or working in a team, one thing becomes obvious fast: style inconsistencies and formatting nitpicks waste time. Over the years, I’ve landed on a setup that saves mental overhead, keeps the codebase clean and scales well acr...

I’ve never used it, but I always wanted to, so here we go. I know it’s something that’s done at the beginning, but we’re not that far from it. For the moment, I just want to use Husky for commit lint because I like my commits well defined and not jus...
