fakeRedis
function fakeRedis(options?): FakeRedis;Defined in: src/storage/testing/fake-redis.ts:54
An in-memory node-redis look-alike: string and RedisJSON values, the driver’s two Lua scripts emulated, a SCAN that yields every key twice (Redis may repeat keys), and PSUBSCRIBE with real glob matching (so an unescaped prefix would miss events).
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
options? |
FakeRedisOptions |