1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-07 13:22:56 +03:00

fix SCAN spec

This commit is contained in:
dovi
2023-05-03 14:34:22 -04:00
parent 1cb0c09321
commit 4c5d7a3d4e
2 changed files with 7 additions and 3 deletions

View File

@@ -50,7 +50,7 @@ describe('SCAN', () => {
}); });
}); });
testUtils.testWithClient('client.scan', async client => { testUtils.testAll('scan', async client => {
assert.deepEqual( assert.deepEqual(
await client.scan(0), await client.scan(0),
{ {
@@ -58,5 +58,8 @@ describe('SCAN', () => {
keys: [] keys: []
} }
); );
}, GLOBAL.SERVERS.OPEN); }, {
client: GLOBAL.SERVERS.OPEN,
cluster: GLOBAL.CLUSTERS.OPEN
});
}); });

View File

@@ -11,7 +11,7 @@
# waiting List categoreis # waiting List categoreis
- Generic - Generic
- String - String
- Hash - Hash
- List - List
@@ -28,6 +28,7 @@
- `ZREVRANGE WITHSCORE` - `ZREVRANGE WITHSCORE`
- `ZRANK WITHSCORE` - `ZRANK WITHSCORE`
- `MIGRATE` - `MIGRATE`
- `RESTORE`
# other # other