import { Milliseconds } from 'cache-manager'; export const RedisCacheServiceMock = { get: (key: string): Promise => { return Promise.resolve(null); }, getPortfolioSnapshotKey: (userId: string): string => { return `portfolio-snapshot-${userId}`; }, set: (key: string, value: string, ttl?: Milliseconds): Promise => { return Promise.resolve(value); } };