Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/simstudioai/sim
/ redis.test.ts
File
redis.test.ts
apps/sim/lib/core/config/redis.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ createEnvMock, createMockRedis } from
'@sim/testing'
2
import
{ afterEach, beforeEach, describe, expect, it, vi } from
'vitest'
3
4
const
{ MockRedisConstructor } = vi.hoisted(() => ({
Callers
nothing calls this directly
Calls
8
createMockRedis
Function · 0.90
createEnvMock
Function · 0.90
resetForTesting
Function · 0.90
onRedisReconnect
Function · 0.90
getRedisClient
Function · 0.90
closeRedisConnection
Function · 0.90
extendLock
Function · 0.90
captureRetryStrategy
Function · 0.85
Tested by
no test coverage detected