MCPcopy 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

1import { createEnvMock, createMockRedis } from '@sim/testing'
2import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest'
3
4const { MockRedisConstructor } = vi.hoisted(() => ({

Callers

nothing calls this directly

Calls 8

createMockRedisFunction · 0.90
createEnvMockFunction · 0.90
resetForTestingFunction · 0.90
onRedisReconnectFunction · 0.90
getRedisClientFunction · 0.90
closeRedisConnectionFunction · 0.90
extendLockFunction · 0.90
captureRetryStrategyFunction · 0.85

Tested by

no test coverage detected