1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-06 02:15:48 +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(
await client.scan(0),
{
@@ -58,5 +58,8 @@ describe('SCAN', () => {
keys: []
}
);
}, GLOBAL.SERVERS.OPEN);
}, {
client: GLOBAL.SERVERS.OPEN,
cluster: GLOBAL.CLUSTERS.OPEN
});
});