Skip to content

Commit 78f1de6

Browse files
authored
revert and comment out "connect, ready and end events" test
1 parent d42fd70 commit 78f1de6

File tree

1 file changed

+16
-19
lines changed

1 file changed

+16
-19
lines changed

packages/client/lib/client/index.spec.ts

Lines changed: 16 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -116,25 +116,22 @@ describe('Client', () => {
116116
}
117117
});
118118

119-
testUtils.testWithClient('connect, ready and end events', async client => {
120-
const p1 = once(client, 'connect');
121-
const p2 = once(client, 'ready');
122-
const p3 = once(client, 'end');
123-
124-
await Promise.all([
125-
p1,
126-
p2,
127-
client.connect()
128-
]);
129-
130-
await Promise.all([
131-
p3,
132-
client.close()
133-
]);
134-
}, {
135-
...GLOBAL.SERVERS.OPEN,
136-
disableClientSetup: true
137-
});
119+
// TODO: fix & uncomment
120+
// testUtils.testWithClient('connect, ready and end events', async client => {
121+
// await Promise.all([
122+
// once(client, 'connect'),
123+
// once(client, 'ready'),
124+
// client.connect()
125+
// ]);
126+
127+
// await Promise.all([
128+
// once(client, 'end'),
129+
// client.close()
130+
// ]);
131+
// }, {
132+
// ...GLOBAL.SERVERS.OPEN,
133+
// disableClientSetup: true
134+
// });
138135

139136
describe('sendCommand', () => {
140137
testUtils.testWithClient('PING', async client => {

0 commit comments

Comments
 (0)