What is nock?
"HTTP server mocking and expectations library for Node.js"
nock is used to facilitate high-performance Node.js workflows. It provides a slim footprint of 180.2 KB on disk.
Installation Guide
# Install via NPM
npm install nock
# Install via Yarn
yarn add nock