Search results
146 packages found
Utility class to fake HTTP/HTTPS requests for unit testing Node.js projects. It captures arguments for outgoing requests and allows you to simulate network errors and responses easily.
A node library for creating and testing actions upon controllers without having to spin up a live server.
Axios adapter that allows to easily mock requests
Axios adapter that allows to easily mock requests
Axios adapter that allows to easily mock requests
Intercept and mock outgoing network TCP connections and HTTP requests for testing. Intercepts and gives you a Net.Socket, Http.IncomingMessage and Http.ServerResponse to test and respond with. Useful when testing code that hits remote servers.
A node library for creating and testing actions upon controllers without having to spin up a live server.
Axios adapter that allows to easily mock requests
Fork using latest mitm for node 10 - Intercept and respond to requests in the browser (XMLHttpRequest, XDomainRequest) and Node.js (http(s) module)
Axios adapter that allows to easily mock requests
Intercept and mock outgoing network TCP connections and HTTP requests for testing. Intercepts and gives you a Net.Socket, Http.IncomingMessage and Http.ServerResponse to test and respond with. Useful when testing code that hits remote servers.
Create and test actions against server request/response without spinning up a live server
- mock requests
- controller tests
- request
- response
- supertest
- dupertest
- express
- mock
- action
- unit test
- jasmine
- spy
- spy on
- spyon
Intercept and mock outgoing network TCP connections and HTTP requests for testing. Intercepts and gives you a Net.Socket, Http.IncomingMessage and Http.ServerResponse to test and respond with. Useful when testing code that hits remote servers.
An utility to drive requests handlers through a `.har` web-archive file
JavaScript library to mock web3 responses either by emulating web3 wallets or web3 RPC requests.
JavaScript library to mock web3 responses either by emulating web3 wallets or web3 RPC requests.
Intercept and mock outgoing network TCP connections and HTTP requests for testing. Intercepts and gives you a Net.Socket, Http.IncomingMessage and Http.ServerResponse to test and respond with. Useful when testing code that hits remote servers.
Connect middleware to mock REST requests
Mock axios requests from the browser console
A simple server for reflecting requests back to the client. Useful for unit testing transparent proxies.