DevX Tools
NO

Nock

MIT

HTTP server mocking and expectations library for Node.js. Intercepts requests at the Node.js HTTP module level, perfect for unit testing external API calls.

Overview

HTTP server mocking and expectations library for Node.js. Intercepts requests at the Node.js HTTP module level, perfect for unit testing external API calls.

When to use it

When you need straightforward HTTP mocking in Node.js with minimal setup and a clear, chainable API.

Details

Languages & Runtimes

JavaScriptTypeScript
Node.js

Categories

HTTP Interception

Best For

HTTP mocking and expectations in Node.js tests