We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ad0473 commit 2c23787Copy full SHA for 2c23787
1 file changed
packages/client/lib/client/socket.spec.ts
@@ -21,10 +21,13 @@ describe('Socket', () => {
21
return time;
22
});
23
24
- const socket = new RedisSocket(undefined, {
25
- host: 'error',
26
- reconnectStrategy
27
- });
+ const socket = new RedisSocket(
+ () => Promise.resolve(),
+ {
+ host: 'error',
28
+ reconnectStrategy
29
+ }
30
+ );
31
32
socket.on('error', () => {
33
// ignore errors
0 commit comments