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:
@@ -115,19 +115,7 @@ describe('ZADD', () => {
|
||||
);
|
||||
});
|
||||
|
||||
it('with INCR', () => {
|
||||
assert.deepEqual(
|
||||
ZADD.transformArguments('key', {
|
||||
value: '1',
|
||||
score: 1
|
||||
}, {
|
||||
INCR: true
|
||||
}),
|
||||
['ZADD', 'key', 'INCR', '1', '1']
|
||||
);
|
||||
});
|
||||
|
||||
it('with condition, comparison, CH, INCR', () => {
|
||||
it('with condition, comparison, CH', () => {
|
||||
assert.deepEqual(
|
||||
ZADD.transformArguments('key', {
|
||||
value: '1',
|
||||
@@ -135,10 +123,9 @@ describe('ZADD', () => {
|
||||
}, {
|
||||
condition: 'XX',
|
||||
comparison: 'LT',
|
||||
CH: true,
|
||||
INCR: true
|
||||
CH: true
|
||||
}),
|
||||
['ZADD', 'key', 'XX', 'LT', 'CH', 'INCR', '1', '1']
|
||||
['ZADD', 'key', 'XX', 'LT', 'CH', '1', '1']
|
||||
);
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user