Search results
46 packages found
A response-like object for mocking a Node.js HTTP response stream
Customize Your Own Local Mock Server
This is an npm package designed to mock curl requests in an Express.js application and write the corresponding response to a file.
Functions to allow test the request and responses in Axios format
A library to be used with axios to selectively provide mock responses for any requests that are to be sent via the axios API.
Extensible mock req / res objects for use in unit tests of Express controller and middleware functions.
mock http request response
Middleware adding mock responses to lws
mock http request response
Simple request and response mock objects to pass into Express routes when testing using Sinon.
small mock generator with semi-random value generator. easy to use
Mock your HTTP responses to test your REST API
File-based real mocks request mocker for playwright
Node.js mock / polyfill http object library for http req / res
Nodejs library to mock express http response
A response-like object for mocking a Node.js HTTP response stream. This is a fork of sindresorhus/responselike, but with CommonJS support.
Testing module for the controllers. Extends req and res from dupertest
Simulate any HTTP API response in a breeze for robust and efficient testing.
playwright request mocker
Mocks node.js http.ServerResponse. See also `mock-req`.