1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-09 00:22:08 +03:00
This commit is contained in:
leibale
2021-09-14 11:09:31 -04:00
parent b91897acdb
commit 0f5a278497
2 changed files with 10 additions and 10 deletions

View File

@@ -516,6 +516,9 @@ describe('Client', () => {
assert.ok(channelListener1.calledOnce);
assert.ok(channelListener2.calledTwice);
assert.ok(patternListener.calledThrice);
// should be able to send commands when unsubsribed from all channels (see #1652)
await assert.doesNotReject(subscriber.ping());
} finally {
await subscriber.disconnect();
}