We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abf2b4b commit ecd4edaCopy full SHA for ecd4eda
packages/client/lib/client/index.spec.ts
@@ -341,6 +341,19 @@ describe('Client', () => {
341
legacyMode: true
342
}
343
});
344
+
345
+ testUtils.testWithClient('pingInterval', async client => {
346
+ assert.deepEqual(
347
+ await once(client, 'ping-interval'),
348
+ ['PONG']
349
+ );
350
+ }, {
351
+ ...GLOBAL.SERVERS.OPEN,
352
+ clientOptions: {
353
+ legacyMode: true,
354
+ pingInterval: 1
355
+ }
356
+ });
357
358
359
describe('events', () => {
0 commit comments