boblauer / mock-require
Simple, intuitive mocking of Node.js modules.
☆461Updated 4 years ago
Alternatives and similar repositories for mock-require:
Users that are interested in mock-require are comparing it to the libraries listed below
- Retries a function that returns a promise, leveraging the power of the retry module.☆317Updated 2 years ago
- Simplifying the use of mocks with Node.js☆1,101Updated last year
- Extends Chai with assertions for the Sinon.JS mocking framework.☆1,089Updated 8 months ago
- Configurable mock for the fs module☆917Updated 2 months ago
- The non-configurable configuration loader for lazy people.☆1,024Updated 3 years ago
- Extends Chai with assertions about promises.☆1,420Updated this week
- Easy testing of time-dependent code. Node.js☆426Updated last year
- Supercharge supertest with a promise interface☆269Updated last year
- Long stack traces for node.js inspired by https://github.com/tlrobinson/long-stack-traces☆840Updated 5 years ago
- The right way to mock dependencies in Node.js or webpack environment.☆491Updated 2 years ago
- HTTP Response assertions for the Chai Assertion Library.☆637Updated this week
- Temporary file and directory creator for node.js☆752Updated 2 weeks ago
- Mock 'http' objects for testing Express,js, Next.js and Koa routing functions☆769Updated 4 months ago
- A NodeJS library to keep an eye on your memory usage, and discover and isolate leaks.☆776Updated 2 years ago
- Load environment variables from .env and ensure they are all present☆768Updated 10 months ago
- Node.js module to list all files in a directory or any subdirectories.☆346Updated 2 years ago
- Intercept and mock outgoing Node.js network TCP connections and HTTP requests for testing. Intercepts and gives you a Net.Socket, Http.In…☆649Updated 7 months ago
- General purpose crypto utilities☆182Updated 6 months ago
- writable stream that concatenates strings or data and calls a callback with the result☆577Updated 3 years ago
- implementation of https://github.com/joyent/node/issues/5243☆1,133Updated 2 years ago
- Rich JavaScript errors☆1,188Updated 2 years ago
- Creates super long stack traces☆195Updated 6 months ago
- pipe streams together and close all of them if one of them closes☆913Updated 7 months ago
- Enable support for generators in Mocha tests☆215Updated 7 years ago
- Parallel test runner for mocha tests. Looking for maintainer.☆198Updated 2 years ago
- Easily-extendable error for use with ES6 classes☆213Updated 4 years ago
- Fibonacci and exponential backoff for Node.js☆337Updated 3 years ago
- Distribute processing tasks to child processes with an über-simple API and baked-in durability & custom concurrency options.☆1,744Updated 3 years ago
- Throttle a collection of promise returning functions☆483Updated 2 years ago
- cls-hooked : CLS using AsynWrap or async_hooks instead of async-listener for node 4.7+☆770Updated last year