mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-27 17:16:14 +01:00
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:
committed by
GitHub
parent
969c5d4a2b
commit
22b02f1407
@@ -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']);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user