ioredis-mock
This library emulates ioredis by performing all operations in-memory.
redis-mock
Redis client mock object for unit testing
redis-js
An in-memory redis-compatible implementation written in pure javascript. Part of the [Rarefied Redis Project](http://wilkenstein.github.io/rarefied-redis/).