You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
WIP
This commit is contained in:
@@ -31,9 +31,13 @@ describe('XSETID', () => {
|
||||
});
|
||||
|
||||
testUtils.testAll('xSetId', async client => {
|
||||
assert.deepEqual(
|
||||
await client.xSetId('key', '0-0'),
|
||||
[]
|
||||
const id = await client.xAdd('key', '*', {
|
||||
field: 'value'
|
||||
});
|
||||
|
||||
assert.equal(
|
||||
await client.xSetId('key', id),
|
||||
'OK'
|
||||
);
|
||||
}, {
|
||||
client: GLOBAL.SERVERS.OPEN,
|
||||
|
Reference in New Issue
Block a user