()
| 21 | */ |
| 22 | let keyCounter = 0 |
| 23 | function uniqueNs(): string { |
| 24 | keyCounter += 1 |
| 25 | return `ns-${keyCounter}-${Date.now()}` |
| 26 | } |
| 27 | |
| 28 | describe('getCachedProviderClient', () => { |
| 29 | it('returns the SAME instance for an identical key and runs the factory once (memoized)', () => { |