Month: May 2020

Start writing Unit Test of mongoose model using Test Jest

Get Started Install Jest using yarn: yarn add –dev jest npm: npm install –save-dev jest More detail about jest   we need mongodb-memory-server-core package.  This package spins up a actual/real MongoDB Server programmatically from node for testing or mocking…

Read More »

Rename your local/ remote branch

Rename the branch will be useful once your branch is finished. Then new stuff is coming, and you want to develop in the same branch instead of deleting it and create the new one.   If you are…

Read More »