3081 packages found
Given an object and a property, replaces a property descriptor (or deletes it), and returns a thunk to restore it.
- redis mock
- redis js
A random, fake, contextual test data generator driven from Yup schemas
Module to stub endpoints for Expressjs apps running. Useful when you need to temporarily mock services for testing reasons.
Mock STDIN file descriptor in Node.js
A basic libray to stub logging calls when an external logger is expected.
Mock implementation of the Next.js Router
A simple, easy mock REST API 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.
QQ Puppet for Wechaty
cli for json-schema-faker
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.
Fork using latest mitm for node 10 - Intercept and respond to requests in the browser (XMLHttpRequest, XDomainRequest) and Node.js (http(s) module)
Mocking library for TypeScript
Easily mock the layout of your Vue apps.
Simple Solidity contract to mock dependent contracts in truffle tests.