async-redis-mock
JSON →Async Redis client mock object for unit testing that replaces async-redis in test environments. Current stable version is 2.0.1. It is actively maintained and offers in-memory Redis command simulation so that no actual Redis server is needed. Key differentiators: it provides a drop-in replacement for async-redis with a comprehensive set of mocked commands, allowing tests to run quickly and isolated. It supports common Redis commands like SET, GET, DEL, EXPIRE, and more, and integrates easily with testing frameworks like Jest and Mocha.
Traffic · last 30 days stale · no recent hits
total hits 19
actors 4 distinct systems
last hit 16d ago AhrefsBot
top countries 🇸🇬 Singapore · 🇺🇸 United States · BD · VN · 🇨🇦 Canada
Resources
packageasync-redis-mock ↗