boblauer / mock-require
Simple, intuitive mocking of Node.js modules.
☆459Updated 3 years ago
Related projects ⓘ
Alternatives and complementary repositories for mock-require
- Simplifying the use of mocks with Node.js☆1,102Updated last year
- Simple module to add additional directories to the Node module search for top-level app modules☆411Updated 6 years ago
- Long stack traces for node.js inspired by https://github.com/tlrobinson/long-stack-traces☆837Updated 4 years ago
- Configurable mock for the fs module☆910Updated 2 weeks ago
- Extends Chai with assertions for the Sinon.JS mocking framework.☆1,089Updated 3 months ago
- Supercharge supertest with a promise interface☆269Updated 7 months ago
- Temporary file and directory creator for node.js☆740Updated 3 months ago
- pipe streams together and close all of them if one of them closes☆908Updated 2 months ago
- Elegant dependency injection for Node.js.☆564Updated 2 months ago
- Retries a function that returns a promise, leveraging the power of the retry module.☆309Updated last year
- Load environment variables from .env and ensure they are all present☆769Updated 5 months ago
- Common error classes and utility functions☆286Updated 3 years ago
- 🔮 Proxies nodejs require in order to allow overriding dependencies during testing.☆2,749Updated 6 months ago
- Mock 'http' objects for testing Express,js, Next.js and Koa routing functions☆763Updated last month
- Fibonacci and exponential backoff for Node.js☆337Updated 3 years ago
- HTTP Response assertions for the Chai Assertion Library.☆633Updated this week
- A NodeJS library to keep an eye on your memory usage, and discover and isolate leaks.☆775Updated last year
- Simple wrapper around the "child_process" module that makes use of promises☆250Updated 5 years ago
- Rich JavaScript errors☆1,184Updated 2 years ago
- A caffeine driven, simplistic approach to benchmarking.☆563Updated 4 years ago
- The non-configurable configuration loader for lazy people.☆1,017Updated 2 years ago
- ESLint rules for mocha☆281Updated 2 months ago
- Easy testing of time-dependent code. Node.js☆423Updated last year
- Throttle a collection of promise returning functions☆484Updated last year
- Extends Chai with assertions about promises.☆1,421Updated 5 months ago
- General purpose crypto utilities☆181Updated 3 weeks ago
- Serialize/deserialize an error into a plain object☆539Updated 2 months ago
- Parallel test runner for mocha tests. Looking for maintainer.☆200Updated last year
- Intercept and mock outgoing Node.js network TCP connections and HTTP requests for testing. Intercepts and gives you a Net.Socket, Http.In…☆640Updated 2 months ago