feat: add failing test for pagination (#7924)

* feat: add failing test for pagination

* feat: test

* fix: redis tests

* refactor: remove logs
This commit is contained in:
Barış Soner Uşaklı
2019-09-25 21:06:57 -04:00
committed by GitHub
parent 969c5d4a2b
commit 22b02f1407
3 changed files with 18 additions and 8 deletions

View File

@@ -279,6 +279,9 @@ describe('Sorted Set methods', function () {
data = await db.getSortedSetRevRange(keys, 0, -1);
assert.equal(data.length, 40000);
data = await db.getSortedSetRange(keys, 9998, 10002);
assert.deepStrictEqual(data, ['9998', '9999', '10000', '10001', '10002']);
});
});