Anuj Kumar Upadhyayanuj1.hashnode.dev·Aug 12, 2024Testing Node.js ApplicationsWelcome to Our Day 19 of our Node.js Zero to 1! Blog Series 👇👇 Testing is a critical part of the software development lifecycle, ensuring that your application functions as expected and helps catch bugs before they reach production. In this session...Discuss·10 likesNodejsNode.js
Anuj Kumar Upadhyayanuj1.hashnode.dev·Jul 21, 2024TypeScript and ToolingWelcome back to our TypeScript series! Today, we’ll delve into the ecosystem of tools that enhance your TypeScript development experience. From IDE support to build tools and linters, understanding how to leverage these tools will significantly impro...Discuss·8 likesTypeScriptTypeScript
Rajat Guptarajatgupta.net·May 29, 2024How to setup different database for development and testing in NodeJSObviously we do not want to mess up our development and test data and hence want to setup a different database for both the purposes. I faced this issue when performing unit and integration testing in my node application using chai and mocha. Below a...Discuss·1 like·50 readsmocha
Cris Mihalachef3rno64.io·Dec 21, 2023A Modern Node.JS TypeScript Lib Templatef3rno64/node-ts-lib-template Starting a new Node.JS project written in TypeScript in today's software development world is daunting; with the multitude of tools available for testing, linting, deploying, and generating documentation, it is difficult...Discuss·2 likes·685 readsNode.js
Samyak Adityasamyakaditya.hashnode.dev·Oct 12, 2023Why Mocha Might Be a Better Choice Than Jest for Your TestsWhen it comes to JavaScript testing frameworks, two names often stand out in the crowd: Mocha and Jest. Both are highly popular choices among developers, and each has its own set of features and advantages. But, as a developer, you might be wondering...Discuss·89 readsJavaScript
Samyak Adityasamyakaditya.hashnode.dev·Sep 14, 2023Mastering React Component Testing with Mocha: A Comprehensive GuideIntroduction Testing is a crucial part of the software development process. In the world of React, ensuring that your components work as expected is essential for delivering a reliable and bug-free application. One popular testing framework for React...Discuss·31 readsmocha
Al Farhaankhan I Inamdartheonethatstartedlate.hashnode.dev·Sep 7, 2023JavaScript Testing with Mocha: Your Beginner's Guide to Reliable CodeIntroduction: As a developer, ensuring your JavaScript code works flawlessly is a top priority. That's where testing comes in, and one tool that has made testing JavaScript a breeze is Mocha. Meet Mocha: Your Testing Companion Mocha is a JavaScript t...Discuss·42 readsmocha
Jonathan Barnettjonbarnett.hashnode.dev·Jun 5, 2023FeaturedDebugging Javascript Unit Tests with VSCodeDo you just use console.log for everything? When you run code locally, sometimes the easiest way to get the current value of something is console.log to write to a terminal. This is easy. But sometimes, you need more insight into what a variable is r...Medhashis Maiti and 3 others are discussing this4 people are discussing thisDiscuss·68 likes·717 readsNode.js
Fandy Aditya Wiranadev.fandyaditya.com·Apr 25, 2023Unit Testing using Mocha, Sinon, and Chai in NodeJSWe use Mocha as the test framework, Chai for assertions, and Sinon.js for creating Doubles. Here's the code for installation: $ npm install sinon mocha chai --save-dev --save-dev is used because these modules are only needed during development. We d...Discuss·68 readsunit testing
Sumit Kumarsunnyp1201.hashnode.dev·Apr 21, 2023History of JavaScript and EcmaScript?JavaScript Javascript was invented by Brenden Eich in 1995. It was developed for Netscape and became the ECMA-262 standard in 1997. Initially known as the mocha after sometimes its name LiveScript, Netscape changed the name to javascript so they c...Discuss·10 likes·66 readsJavaScript