Skip to content

Commit

Permalink
debugging a test in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Filip Maj committed Apr 30, 2024
1 parent 143f453 commit 5f2be02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/socket-mode/test/integration.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,11 +245,11 @@ describe('Integration tests with a WebSocket server', () => {
});
describe('related to ping/pong events', () => {
beforeEach(() => {
client = new SocketModeClient({ appToken: 'whatever', logLevel: LogLevel.ERROR, clientOptions: {
client = new SocketModeClient({ appToken: 'whatever', logLevel: LogLevel.DEBUG, clientOptions: {
slackApiUrl: `http://localhost:${HTTP_PORT}/`
}, clientPingTimeout: 25, serverPingTimeout: 25, pingPongLoggingEnabled: false });
});
it('should reconnect if server does not send `ping` message within specified server ping timeout', async () => {
it.only('should reconnect if server does not send `ping` message within specified server ping timeout', async () => {
await client.start();
exposed_ws_connection.ping();
// we set server and client ping timeout to 25, so waiting for 50 + a bit should force a reconnect
Expand Down

0 comments on commit 5f2be02

Please sign in to comment.