RedMock

JSON →
library 1.0.0 ·javascript maintenance
verified Jun 7, 2026

RedMock is a mock Redis server for Node.js unit tests, allowing developers to test Redis-dependent code without stubbing the client library. Version 1.0.0 supports basic Redis commands, sentinel, and clustering. It requires Node >= 5.7.0. Unlike simple stubs, RedMock provides a real in-memory server that behaves like Redis, reducing the risk of integration bugs. The project is no longer actively maintained, and alternatives like ioredis-mock or redis-mock are recommended for newer projects.