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 GETDEL tests only if the redis version is greater than 6.2
This commit is contained in:
@@ -1,8 +1,10 @@
|
|||||||
import { strict as assert } from 'assert';
|
import { strict as assert } from 'assert';
|
||||||
import { TestRedisServers, itWithClient, TestRedisClusters, itWithCluster } from '../test-utils';
|
import { TestRedisServers, itWithClient, TestRedisClusters, itWithCluster, describeHandleMinimumRedisVersion } from '../test-utils';
|
||||||
import { transformArguments } from './GETDEL';
|
import { transformArguments } from './GETDEL';
|
||||||
|
|
||||||
describe('GETDEL', () => {
|
describe('GETDEL', () => {
|
||||||
|
describeHandleMinimumRedisVersion([6, 2]);
|
||||||
|
|
||||||
it('transformArguments', () => {
|
it('transformArguments', () => {
|
||||||
assert.deepEqual(
|
assert.deepEqual(
|
||||||
transformArguments('key'),
|
transformArguments('key'),
|
||||||
|
Reference in New Issue
Block a user