You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-17 19:41:06 +03:00
run some tests only on supported redis versions, use coveralls parallel mode
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { describeHandleMinimumRedisVersion } from '../test-utils';
|
||||
import { transformArguments } from './ACL_CAT';
|
||||
|
||||
describe('ACL CAT', () => {
|
||||
describeHandleMinimumRedisVersion([6]);
|
||||
|
||||
describe('transformArguments', () => {
|
||||
it('simple', () => {
|
||||
assert.deepEqual(
|
||||
|
@@ -1,8 +1,10 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { itWithClient, TestRedisServers } from '../test-utils';
|
||||
import { describeHandleMinimumRedisVersion, itWithClient, TestRedisServers } from '../test-utils';
|
||||
import { transformArguments } from './ACL_DELUSER';
|
||||
|
||||
describe('ACL DELUSER', () => {
|
||||
describeHandleMinimumRedisVersion([6]);
|
||||
|
||||
describe('transformArguments', () => {
|
||||
it('string', () => {
|
||||
assert.deepEqual(
|
||||
|
@@ -1,7 +1,10 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { describeHandleMinimumRedisVersion } from '../test-utils';
|
||||
import { transformArguments } from './ACL_GENPASS';
|
||||
|
||||
describe('ACL GENPASS', () => {
|
||||
describeHandleMinimumRedisVersion([6]);
|
||||
|
||||
describe('transformArguments', () => {
|
||||
it('simple', () => {
|
||||
assert.deepEqual(
|
||||
|
@@ -1,8 +1,10 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { itWithClient, TestRedisServers } from '../test-utils';
|
||||
import { describeHandleMinimumRedisVersion, itWithClient, TestRedisServers } from '../test-utils';
|
||||
import { transformArguments } from './ACL_GETUSER';
|
||||
|
||||
describe('ACL GETUSER', () => {
|
||||
describeHandleMinimumRedisVersion([6]);
|
||||
|
||||
it('transformArguments', () => {
|
||||
assert.deepEqual(
|
||||
transformArguments('username'),
|
||||
|
@@ -1,7 +1,10 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { describeHandleMinimumRedisVersion } from '../test-utils';
|
||||
import { transformArguments } from './ACL_LIST';
|
||||
|
||||
describe('ACL LIST', () => {
|
||||
describeHandleMinimumRedisVersion([6]);
|
||||
|
||||
it('transformArguments', () => {
|
||||
assert.deepEqual(
|
||||
transformArguments(),
|
||||
|
@@ -1,7 +1,10 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { describeHandleMinimumRedisVersion } from '../test-utils';
|
||||
import { transformArguments } from './ACL_SAVE';
|
||||
|
||||
describe('ACL SAVE', () => {
|
||||
describeHandleMinimumRedisVersion([6]);
|
||||
|
||||
it('transformArguments', () => {
|
||||
assert.deepEqual(
|
||||
transformArguments(),
|
||||
|
@@ -1,7 +1,10 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { describeHandleMinimumRedisVersion } from '../test-utils';
|
||||
import { transformArguments } from './ACL_LOG';
|
||||
|
||||
describe('ACL LOG', () => {
|
||||
describeHandleMinimumRedisVersion([6]);
|
||||
|
||||
describe('transformArguments', () => {
|
||||
it('simple', () => {
|
||||
assert.deepEqual(
|
||||
|
@@ -1,7 +1,10 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { describeHandleMinimumRedisVersion } from '../test-utils';
|
||||
import { transformArguments } from './ACL_LOG_RESET';
|
||||
|
||||
describe('ACL LOG RESET', () => {
|
||||
describeHandleMinimumRedisVersion([6]);
|
||||
|
||||
it('transformArguments', () => {
|
||||
assert.deepEqual(
|
||||
transformArguments(),
|
||||
|
@@ -1,7 +1,10 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { describeHandleMinimumRedisVersion } from '../test-utils';
|
||||
import { transformArguments } from './ACL_LOAD';
|
||||
|
||||
describe('ACL LOAD', () => {
|
||||
describeHandleMinimumRedisVersion([6]);
|
||||
|
||||
it('transformArguments', () => {
|
||||
assert.deepEqual(
|
||||
transformArguments(),
|
||||
|
@@ -1,7 +1,10 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { describeHandleMinimumRedisVersion } from '../test-utils';
|
||||
import { transformArguments } from './ACL_SETUSER';
|
||||
|
||||
describe('ACL SETUSER', () => {
|
||||
describeHandleMinimumRedisVersion([6]);
|
||||
|
||||
describe('transformArguments', () => {
|
||||
it('string', () => {
|
||||
assert.deepEqual(
|
||||
|
@@ -1,7 +1,10 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { describeHandleMinimumRedisVersion } from '../test-utils';
|
||||
import { transformArguments } from './ACL_USERS';
|
||||
|
||||
describe('ACL USERS', () => {
|
||||
describeHandleMinimumRedisVersion([6]);
|
||||
|
||||
it('transformArguments', () => {
|
||||
assert.deepEqual(
|
||||
transformArguments(),
|
||||
|
@@ -1,7 +1,10 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { describeHandleMinimumRedisVersion } from '../test-utils';
|
||||
import { transformArguments } from './ACL_WHOAMI';
|
||||
|
||||
describe('ACL WHOAMI', () => {
|
||||
describeHandleMinimumRedisVersion([6]);
|
||||
|
||||
it('transformArguments', () => {
|
||||
assert.deepEqual(
|
||||
transformArguments(),
|
||||
|
@@ -1,10 +1,12 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { TestRedisServers, itWithClient, itWithCluster, TestRedisClusters } from '../test-utils';
|
||||
import { TestRedisServers, itWithClient, itWithCluster, TestRedisClusters, describeHandleMinimumRedisVersion } from '../test-utils';
|
||||
import { transformArguments } from './BLMOVE';
|
||||
import RedisClient from '../client';
|
||||
import RedisCluster from '../cluster';
|
||||
|
||||
describe('BLMOVE', () => {
|
||||
describeHandleMinimumRedisVersion([6, 2]);
|
||||
|
||||
it('transformArguments', () => {
|
||||
assert.deepEqual(
|
||||
transformArguments('source', 'destination', 'LEFT', 'RIGHT', 0),
|
||||
|
@@ -1,8 +1,10 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { TestRedisServers, itWithClient } from '../test-utils';
|
||||
import { TestRedisServers, itWithClient, describeHandleMinimumRedisVersion } from '../test-utils';
|
||||
import { transformArguments, transformReply } from './COPY';
|
||||
|
||||
describe('COPY', () => {
|
||||
describeHandleMinimumRedisVersion([6, 2]);
|
||||
|
||||
describe('transformArguments', () => {
|
||||
it('simple', () => {
|
||||
assert.deepEqual(
|
||||
|
@@ -1,8 +1,10 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { TestRedisServers, itWithClient } from '../test-utils';
|
||||
import { TestRedisServers, itWithClient, describeHandleMinimumRedisVersion } from '../test-utils';
|
||||
import { transformArguments } from './HRANDFIELD';
|
||||
|
||||
describe('HRANDFIELD', () => {
|
||||
describeHandleMinimumRedisVersion([6, 2]);
|
||||
|
||||
it('transformArguments', () => {
|
||||
assert.deepEqual(
|
||||
transformArguments('key'),
|
||||
|
@@ -1,8 +1,10 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { TestRedisServers, itWithClient } from '../test-utils';
|
||||
import { TestRedisServers, itWithClient, describeHandleMinimumRedisVersion } from '../test-utils';
|
||||
import { transformArguments } from './HRANDFIELD_COUNT';
|
||||
|
||||
describe('HRANDFIELD COUNT', () => {
|
||||
describeHandleMinimumRedisVersion([6, 2]);
|
||||
|
||||
it('transformArguments', () => {
|
||||
assert.deepEqual(
|
||||
transformArguments('key', 1),
|
||||
|
@@ -1,8 +1,10 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { TestRedisServers, itWithClient } from '../test-utils';
|
||||
import { TestRedisServers, itWithClient, describeHandleMinimumRedisVersion } from '../test-utils';
|
||||
import { transformArguments } from './HRANDFIELD_COUNT_WITHVALUES';
|
||||
|
||||
describe('HRANDFIELD COUNT WITHVALUES', () => {
|
||||
describeHandleMinimumRedisVersion([6, 2]);
|
||||
|
||||
it('transformArguments', () => {
|
||||
assert.deepEqual(
|
||||
transformArguments('key', 1),
|
||||
|
@@ -1,8 +1,10 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { TestRedisServers, itWithClient, itWithCluster, TestRedisClusters } from '../test-utils';
|
||||
import { TestRedisServers, itWithClient, itWithCluster, TestRedisClusters, describeHandleMinimumRedisVersion } from '../test-utils';
|
||||
import { transformArguments } from './LMOVE';
|
||||
|
||||
describe('LMOVE', () => {
|
||||
describeHandleMinimumRedisVersion([6, 2]);
|
||||
|
||||
it('transformArguments', () => {
|
||||
assert.deepEqual(
|
||||
transformArguments('source', 'destination', 'LEFT', 'RIGHT'),
|
||||
|
@@ -1,8 +1,10 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { TestRedisServers, itWithClient, itWithCluster, TestRedisClusters } from '../test-utils';
|
||||
import { TestRedisServers, itWithClient, itWithCluster, TestRedisClusters, describeHandleMinimumRedisVersion } from '../test-utils';
|
||||
import { transformArguments } from './LPOP_COUNT';
|
||||
|
||||
describe('LPOP COUNT', () => {
|
||||
describeHandleMinimumRedisVersion([6, 2]);
|
||||
|
||||
it('transformArguments', () => {
|
||||
assert.deepEqual(
|
||||
transformArguments('key', 1),
|
||||
|
@@ -1,8 +1,10 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { TestRedisServers, itWithClient, itWithCluster, TestRedisClusters } from '../test-utils';
|
||||
import { TestRedisServers, itWithClient, TestRedisClusters, itWithCluster, describeHandleMinimumRedisVersion } from '../test-utils';
|
||||
import { transformArguments } from './LPOS';
|
||||
|
||||
describe('LPOS', () => {
|
||||
describeHandleMinimumRedisVersion([6, 0, 6]);
|
||||
|
||||
describe('transformArguments', () => {
|
||||
it('simple', () => {
|
||||
assert.deepEqual(
|
||||
|
@@ -1,8 +1,10 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { TestRedisServers, itWithClient, itWithCluster, TestRedisClusters } from '../test-utils';
|
||||
import { TestRedisServers, itWithClient, itWithCluster, TestRedisClusters, describeHandleMinimumRedisVersion } from '../test-utils';
|
||||
import { transformArguments } from './LPOS_COUNT';
|
||||
|
||||
describe('LPOS COUNT', () => {
|
||||
describeHandleMinimumRedisVersion([6, 0, 6]);
|
||||
|
||||
describe('transformArguments', () => {
|
||||
it('simple', () => {
|
||||
assert.deepEqual(
|
||||
|
@@ -1,8 +1,10 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { TestRedisServers, itWithClient, itWithCluster, TestRedisClusters } from '../test-utils';
|
||||
import { TestRedisServers, itWithClient, itWithCluster, TestRedisClusters, describeHandleMinimumRedisVersion } from '../test-utils';
|
||||
import { transformArguments } from './RPOP_COUNT';
|
||||
|
||||
describe('RPOP COUNT', () => {
|
||||
describeHandleMinimumRedisVersion([6, 2]);
|
||||
|
||||
it('transformArguments', () => {
|
||||
assert.deepEqual(
|
||||
transformArguments('key', 1),
|
||||
|
@@ -114,6 +114,8 @@ describe('SET', () => {
|
||||
}),
|
||||
null
|
||||
);
|
||||
}, {
|
||||
minimumRedisVersion: [6, 2]
|
||||
});
|
||||
});
|
||||
});
|
||||
|
@@ -1,8 +1,10 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { TestRedisServers, itWithClient } from '../test-utils';
|
||||
import { TestRedisServers, itWithClient, describeHandleMinimumRedisVersion } from '../test-utils';
|
||||
import { transformArguments } from './SISMEMBER';
|
||||
|
||||
describe('SISMEMBER', () => {
|
||||
describeHandleMinimumRedisVersion([6, 2]);
|
||||
|
||||
it('transformArguments', () => {
|
||||
assert.deepEqual(
|
||||
transformArguments('key', 'member'),
|
||||
|
@@ -1,8 +1,10 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { TestRedisServers, itWithClient } from '../test-utils';
|
||||
import { TestRedisServers, itWithClient, describeHandleMinimumRedisVersion } from '../test-utils';
|
||||
import { transformArguments } from './XAUTOCLAIM';
|
||||
|
||||
describe('XAUTOCLAIM', () => {
|
||||
describeHandleMinimumRedisVersion([6, 2]);
|
||||
|
||||
describe('transformArguments', () => {
|
||||
it('simple', () => {
|
||||
assert.deepEqual(
|
||||
|
@@ -1,8 +1,10 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { TestRedisServers, itWithClient } from '../test-utils';
|
||||
import { TestRedisServers, itWithClient, describeHandleMinimumRedisVersion } from '../test-utils';
|
||||
import { transformArguments } from './XAUTOCLAIM_JUSTID';
|
||||
|
||||
describe('XAUTOCLAIM JUSTID', () => {
|
||||
describeHandleMinimumRedisVersion([6, 2]);
|
||||
|
||||
it('transformArguments', () => {
|
||||
assert.deepEqual(
|
||||
transformArguments('key', 'group', 'consumer', 1, '0-0'),
|
||||
|
@@ -1,8 +1,10 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { TestRedisServers, itWithClient } from '../test-utils';
|
||||
import { TestRedisServers, itWithClient, describeHandleMinimumRedisVersion } from '../test-utils';
|
||||
import { transformArguments } from './XGROUP_CREATECONSUMER';
|
||||
|
||||
describe('XGROUP CREATECONSUMER', () => {
|
||||
describeHandleMinimumRedisVersion([6, 2]);
|
||||
|
||||
it('transformArguments', () => {
|
||||
assert.deepEqual(
|
||||
transformArguments('key', 'group', 'consumer'),
|
||||
|
@@ -18,20 +18,46 @@ interface XInfoStreamReply {
|
||||
lastEntry: StreamMessageReply | null;
|
||||
};
|
||||
|
||||
export function transformReply(reply: Array<any>): XInfoStreamReply {
|
||||
return {
|
||||
length: reply[1],
|
||||
radixTreeKeys: reply[3],
|
||||
radixTreeNodes: reply[5],
|
||||
lastGeneratedId: reply[7],
|
||||
groups: reply[9],
|
||||
firstEntry: reply[11] ? {
|
||||
id: reply[11][0] ?? null,
|
||||
message: transformReplyTuples(reply[11][1])
|
||||
} : null,
|
||||
lastEntry: reply[13] ? {
|
||||
id: reply[13][0],
|
||||
message: transformReplyTuples(reply[13][1])
|
||||
} : null
|
||||
};
|
||||
export function transformReply(rawReply: Array<any>): XInfoStreamReply {
|
||||
const parsedReply: Partial<XInfoStreamReply> = {};
|
||||
|
||||
for (let i = 0; i < rawReply.length; i+= 2) {
|
||||
switch (rawReply[i]) {
|
||||
case 'length':
|
||||
parsedReply.length = rawReply[i + 1];
|
||||
break;
|
||||
|
||||
case 'radix-tree-keys':
|
||||
parsedReply.radixTreeKeys = rawReply[i + 1];
|
||||
break;
|
||||
|
||||
case 'radix-tree-nodes':
|
||||
parsedReply.radixTreeNodes = rawReply[i + 1];
|
||||
break;
|
||||
|
||||
case 'groups':
|
||||
parsedReply.groups = rawReply[i + 1];
|
||||
break;
|
||||
|
||||
case 'last-generated-id':
|
||||
parsedReply.lastGeneratedId = rawReply[i + 1];
|
||||
break;
|
||||
|
||||
case 'first-entry':
|
||||
parsedReply.firstEntry = {
|
||||
id: rawReply[i + 1][0],
|
||||
message: transformReplyTuples(rawReply[i + 1][1])
|
||||
};
|
||||
break;
|
||||
|
||||
case 'last-entry':
|
||||
parsedReply.lastEntry = {
|
||||
id: rawReply[i + 1][0],
|
||||
message: transformReplyTuples(rawReply[i + 1][1])
|
||||
};
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return parsedReply as XInfoStreamReply;
|
||||
}
|
||||
|
@@ -1,8 +1,10 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { TestRedisServers, itWithClient } from '../test-utils';
|
||||
import { TestRedisServers, itWithClient, describeHandleMinimumRedisVersion } from '../test-utils';
|
||||
import { transformArguments } from './ZDIFF';
|
||||
|
||||
describe('ZDIFF', () => {
|
||||
describeHandleMinimumRedisVersion([6, 2]);
|
||||
|
||||
describe('transformArguments', () => {
|
||||
it('string', () => {
|
||||
assert.deepEqual(
|
||||
|
@@ -1,8 +1,10 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { TestRedisServers, itWithClient } from '../test-utils';
|
||||
import { TestRedisServers, itWithClient, describeHandleMinimumRedisVersion } from '../test-utils';
|
||||
import { transformArguments } from './ZDIFFSTORE';
|
||||
|
||||
describe('ZDIFFSTORE', () => {
|
||||
describeHandleMinimumRedisVersion([6, 2]);
|
||||
|
||||
describe('transformArguments', () => {
|
||||
it('string', () => {
|
||||
assert.deepEqual(
|
||||
|
@@ -1,8 +1,10 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { TestRedisServers, itWithClient } from '../test-utils';
|
||||
import { TestRedisServers, itWithClient, describeHandleMinimumRedisVersion } from '../test-utils';
|
||||
import { transformArguments } from './ZDIFF_WITHSCORES';
|
||||
|
||||
describe('ZDIFF WITHSCORES', () => {
|
||||
describeHandleMinimumRedisVersion([6, 2]);
|
||||
|
||||
describe('transformArguments', () => {
|
||||
it('string', () => {
|
||||
assert.deepEqual(
|
||||
|
@@ -1,8 +1,10 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { TestRedisServers, itWithClient } from '../test-utils';
|
||||
import { TestRedisServers, itWithClient, describeHandleMinimumRedisVersion } from '../test-utils';
|
||||
import { transformArguments } from './ZINTER';
|
||||
|
||||
describe('ZINTER', () => {
|
||||
describeHandleMinimumRedisVersion([6, 2]);
|
||||
|
||||
describe('transformArguments', () => {
|
||||
it('key (string)', () => {
|
||||
assert.deepEqual(
|
||||
|
@@ -1,8 +1,10 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { TestRedisServers, itWithClient } from '../test-utils';
|
||||
import { TestRedisServers, itWithClient, describeHandleMinimumRedisVersion } from '../test-utils';
|
||||
import { transformArguments } from './ZINTER_WITHSCORES';
|
||||
|
||||
describe('ZINTER WITHSCORES', () => {
|
||||
describeHandleMinimumRedisVersion([6, 2]);
|
||||
|
||||
describe('transformArguments', () => {
|
||||
it('key (string)', () => {
|
||||
assert.deepEqual(
|
||||
|
@@ -1,8 +1,10 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { TestRedisServers, itWithClient } from '../test-utils';
|
||||
import { TestRedisServers, itWithClient, describeHandleMinimumRedisVersion } from '../test-utils';
|
||||
import { transformArguments } from './ZMSCORE';
|
||||
|
||||
describe('ZMSCORE', () => {
|
||||
describeHandleMinimumRedisVersion([6, 2]);
|
||||
|
||||
describe('transformArguments', () => {
|
||||
it('string', () => {
|
||||
assert.deepEqual(
|
||||
|
@@ -1,8 +1,10 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { TestRedisServers, itWithClient } from '../test-utils';
|
||||
import { TestRedisServers, itWithClient, describeHandleMinimumRedisVersion } from '../test-utils';
|
||||
import { transformArguments } from './ZRANDMEMBER';
|
||||
|
||||
describe('ZRANDMEMBER', () => {
|
||||
describeHandleMinimumRedisVersion([6, 2]);
|
||||
|
||||
it('transformArguments', () => {
|
||||
assert.deepEqual(
|
||||
transformArguments('key'),
|
||||
|
@@ -1,8 +1,10 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { TestRedisServers, itWithClient } from '../test-utils';
|
||||
import { TestRedisServers, itWithClient, describeHandleMinimumRedisVersion } from '../test-utils';
|
||||
import { transformArguments } from './ZRANDMEMBER_COUNT';
|
||||
|
||||
describe('ZRANDMEMBER COUNT', () => {
|
||||
describeHandleMinimumRedisVersion([6, 2]);
|
||||
|
||||
it('transformArguments', () => {
|
||||
assert.deepEqual(
|
||||
transformArguments('key', 1),
|
||||
|
@@ -1,8 +1,10 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { TestRedisServers, itWithClient } from '../test-utils';
|
||||
import { TestRedisServers, itWithClient, describeHandleMinimumRedisVersion } from '../test-utils';
|
||||
import { transformArguments } from './ZRANDMEMBER_COUNT_WITHSCORES';
|
||||
|
||||
describe('ZRANDMEMBER COUNT WITHSCORES', () => {
|
||||
describeHandleMinimumRedisVersion([6, 2]);
|
||||
|
||||
it('transformArguments', () => {
|
||||
assert.deepEqual(
|
||||
transformArguments('key', 1),
|
||||
|
@@ -1,8 +1,10 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { TestRedisServers, itWithClient } from '../test-utils';
|
||||
import { TestRedisServers, itWithClient, describeHandleMinimumRedisVersion } from '../test-utils';
|
||||
import { transformArguments } from './ZRANGESTORE';
|
||||
|
||||
describe('ZRANGESTORE', () => {
|
||||
describeHandleMinimumRedisVersion([6, 2]);
|
||||
|
||||
describe('transformArguments', () => {
|
||||
it('simple', () => {
|
||||
assert.deepEqual(
|
||||
|
@@ -1,8 +1,10 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { TestRedisServers, itWithClient } from '../test-utils';
|
||||
import { TestRedisServers, itWithClient, describeHandleMinimumRedisVersion } from '../test-utils';
|
||||
import { transformArguments } from './ZUNION';
|
||||
|
||||
describe('ZUNION', () => {
|
||||
describeHandleMinimumRedisVersion([6, 2]);
|
||||
|
||||
describe('transformArguments', () => {
|
||||
it('key (string)', () => {
|
||||
assert.deepEqual(
|
||||
|
@@ -1,8 +1,10 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import { TestRedisServers, itWithClient } from '../test-utils';
|
||||
import { TestRedisServers, itWithClient, describeHandleMinimumRedisVersion } from '../test-utils';
|
||||
import { transformArguments } from './ZUNION_WITHSCORES';
|
||||
|
||||
describe('ZUNION WITHSCORES', () => {
|
||||
describeHandleMinimumRedisVersion([6, 2]);
|
||||
|
||||
describe('transformArguments', () => {
|
||||
it('key (string)', () => {
|
||||
assert.deepEqual(
|
||||
|
Reference in New Issue
Block a user