* Builds a fresh fake "client" object on every call so identity comparisons * (`toBe`) tell us whether the cache returned the memoized instance or a new one * from the factory. We never construct a real SDK client — these tests exercise * the cache, not any provider SDK.
()
| 11 | * the cache, not any provider SDK. |
| 12 | */ |
| 13 | function makeFactory() { |
| 14 | return vi.fn(() => ({}) as object) |
| 15 | } |
| 16 | |
| 17 | /** |
| 18 | * Generates a unique suffix per test so distinct tests never collide on cache |