1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-13 10:02:24 +03:00

remove some commands from cluster, npm update, clean code,

This commit is contained in:
leibale
2021-10-11 17:18:41 -04:00
parent d7026f619e
commit 13d44147db
106 changed files with 1735 additions and 1828 deletions

View File

@@ -1,6 +1,6 @@
import { strict as assert } from 'assert';
import { scriptSha1 } from '../lua-script';
import { TestRedisServers, itWithClient, TestRedisClusters, itWithCluster } from '../test-utils';
import { TestRedisServers, itWithClient } from '../test-utils';
import { transformArguments } from './SCRIPT_LOAD';
describe('SCRIPT LOAD', () => {
@@ -20,11 +20,4 @@ describe('SCRIPT LOAD', () => {
SCRIPT_SHA1
);
});
itWithCluster(TestRedisClusters.OPEN, 'cluster.scriptLoad', async cluster => {
assert.equal(
await cluster.scriptLoad(SCRIPT),
SCRIPT_SHA1
);
});
});