jest-redis

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

A Jest preset that automatically starts an in-memory Redis server for testing using redis-memory-server. As of v0.1.0, it sets up a global Redis instance, provides process.env.REDIS_URL or global.__REDIS_URL__, and supports custom server options, shared databases across workers, and Jest watch mode. Key differentiator: seamless integration with Jest's test lifecycle, eliminating manual server setup/teardown. Release cadence: initial release, no updates since June 2019.