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.
2 parents cd8719b + eb145ae commit 9b67887Copy full SHA for 9b67887
redisinsight/api/test/api/ws/pub-sub/pub-sub.test.ts
@@ -5,7 +5,7 @@ import {
5
deps,
6
expect,
7
requirements,
8
- _,
+ _, sleep
9
} from '../../deps';
10
import { Socket } from "socket.io-client";
11
const { getSocket, constants, rte } = deps;
@@ -143,6 +143,8 @@ describe('pub-sub', function () {
143
})
144
});
145
146
+ sleep(3000);
147
+
148
expect(messages['channel-a'].length).to.eql(4);
149
messages['channel-a'].forEach(message => {
150
expect(message.channel).to.eql('channel-a');
0 commit comments