You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
the monitor test should not be within the block of tests related to redis closing unexpectedly
This commit is contained in:
@@ -355,6 +355,7 @@ describe("The node_redis client", function () {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
});
|
||||||
|
|
||||||
describe('monitor', function () {
|
describe('monitor', function () {
|
||||||
it('monitors commands on all other redis clients', function (done) {
|
it('monitors commands on all other redis clients', function (done) {
|
||||||
@@ -391,8 +392,6 @@ describe("The node_redis client", function () {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
describe('idle', function () {
|
describe('idle', function () {
|
||||||
it('emits idle as soon as there are no outstanding commands', function (done) {
|
it('emits idle as soon as there are no outstanding commands', function (done) {
|
||||||
client.on('idle', function onIdle () {
|
client.on('idle', function onIdle () {
|
||||||
|
Reference in New Issue
Block a user