diff --git a/src/index.js b/src/index.js index 40ab70752..18d248be0 100644 --- a/src/index.js +++ b/src/index.js @@ -268,7 +268,7 @@ RedisMock.Cluster = class RedisClusterMock extends RedisMock { `Invalid role "${role}". Expected "all", "master" or "slave"` ) } - return this.clusterNodes['all'] // temporary return all until implemented slave and master logic + return this.clusterNodes.all // temporary return all until implemented slave and master logic } }