1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-06 02:15:48 +03:00

some more commands

This commit is contained in:
Leibale
2023-05-14 14:42:48 +03:00
parent 442a554fce
commit 37be30a8fe
32 changed files with 547 additions and 614 deletions

View File

@@ -1,11 +1,11 @@
import { strict as assert } from 'assert';
import { transformArguments } from './REPLICAOF';
import REPLICAOF from './REPLICAOF';
describe('REPLICAOF', () => {
it('transformArguments', () => {
assert.deepEqual(
transformArguments('host', 1),
['REPLICAOF', 'host', '1']
);
});
it('transformArguments', () => {
assert.deepEqual(
REPLICAOF.transformArguments('host', 1),
['REPLICAOF', 'host', '1']
);
});
});