You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
t.throws(()=>validateOptions({ ...requiredOptions,wsReconnect: {maxReconnectionRetries: 0}}),'wsReconnect.maxReconnectionRetries must be a number greater than or equal to 1')
18
-
t.throws(()=>validateOptions({ ...requiredOptions,wsReconnect: {maxReconnectionRetries: -1}}),'wsReconnect.maxReconnectionRetries must be a number greater than or equal to 1')
19
-
t.throws(()=>validateOptions({ ...requiredOptions,wsReconnect: {maxReconnectionRetries: '1'}}),'wsReconnect.maxReconnectionRetries must be a number greater than or equal to 1')
t.throws(()=>validateOptions({ ...requiredOptions,wsReconnect: {reconnectInterval: 0}}),'wsReconnect.reconnectInterval (ms) must be a number greater than or equal to 100')
23
-
t.throws(()=>validateOptions({ ...requiredOptions,wsReconnect: {reconnectInterval: -1}}),'wsReconnect.reconnectInterval (ms) must be a number greater than or equal to 100')
24
-
t.throws(()=>validateOptions({ ...requiredOptions,wsReconnect: {reconnectInterval: '1'}}),'wsReconnect.reconnectInterval (ms) must be a number greater than or equal to 100')
t.throws(()=>validateOptions({ ...requiredOptions,wsReconnect: {reconnectDecay: 0}}),'wsReconnect.reconnectDecay must be a number greater than or equal to 1')
28
-
t.throws(()=>validateOptions({ ...requiredOptions,wsReconnect: {reconnectDecay: -1}}),'wsReconnect.reconnectDecay must be a number greater than or equal to 1')
29
-
t.throws(()=>validateOptions({ ...requiredOptions,wsReconnect: {reconnectDecay: '1'}}),'wsReconnect.reconnectDecay must be a number greater than or equal to 1')
t.throws(()=>validateOptions({ ...requiredOptions,wsReconnect: {connectionTimeout: -1}}),'wsReconnect.connectionTimeout must be a non-negative number')
33
-
t.throws(()=>validateOptions({ ...requiredOptions,wsReconnect: {connectionTimeout: '1'}}),'wsReconnect.connectionTimeout must be a non-negative number')
0 commit comments