(options: RedisSocketOptions)
| 10 | const CLIENT_ID = 'test-client-id'; |
| 11 | |
| 12 | function createSocket(options: RedisSocketOptions): RedisSocket { |
| 13 | const socket = new RedisSocket(() => Promise.resolve(), CLIENT_ID, options); |
| 14 | |
| 15 | socket.on('error', () => { |
| 16 | // ignore errors |
| 17 | }); |
| 18 | |
| 19 | return socket; |
| 20 | } |
| 21 | |
| 22 | describe('reconnectStrategy', () => { |
| 23 | it('false', async () => { |
no test coverage detected