22 packages found
A node library for creating and testing actions upon controllers without having to spin up a live server.
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.
Extensible mock req / res objects for use in unit tests of Express controller and middleware functions.
xhr response mock
- XHR
- xhr
- XMLHttpRequest
- xhr-mock
- fetch
- fetch-mock
- wx.request
- response
- test
- unit
- ajax
- AJAX
- ajax mock
- ajax-mock
- View more
Mock window.fetch requests to ease unit testing
Confidently unit test your Next.js API routes/handlers in an isolated Next.js-like environment
A node library for creating and testing actions upon controllers without having to spin up a live server.
Mock object for use instead http request in unit tests.
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
A simple server for reflecting requests back to the client. Useful for unit testing transparent proxies.
A mock implementation of XMLHttpRequest for unit testing
Fake implementation for use instead of Node.js http.request in unit tests
Unit-test helper for network request assertions, based on Mikael's request and should.js of visionmedia, designed for mocha-ui-exports
Nodejs library to mock express http request
Jest unit test setup for mockyeah server request mocking utility.
- assert
- assertion
- bdd
- cli
- express
- expect
- expectation
- fixture
- http
- integration
- jest
- mocha
- mock
- mock integration
- View more
Mocha unit test setup for mockyeah server request mocking utility.
- assert
- assertion
- bdd
- cli
- express
- expect
- expectation
- fixture
- http
- integration
- jest
- mocha
- mock
- mock integration
- View more
Create HTTP server and request for your unit tests
Jest unit test setup for mockyeah request mocking utility.
- assert
- assertion
- bdd
- cli
- express
- expect
- expectation
- fixture
- http
- integration
- jest
- mocha
- mock
- mock integration
- View more
Mocha unit test setup for mockyeah request mocking utility.
- assert
- assertion
- bdd
- cli
- express
- expect
- expectation
- fixture
- http
- integration
- jest
- mocha
- mock
- mock integration
- View more
Action controller for Express web framework for Node.js. Testable.