1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-07 13:22:56 +03:00
This commit is contained in:
Leibale
2023-04-27 19:17:11 -04:00
parent ab3973aca3
commit 8d615e99ed
16 changed files with 490 additions and 431 deletions

View File

@@ -1,19 +1,19 @@
import { strict as assert } from 'assert';
import testUtils, { GLOBAL } from '../test-utils';
import { transformArguments } from './SMOVE';
// import { strict as assert } from 'assert';
// import testUtils, { GLOBAL } from '../test-utils';
// import { transformArguments } from './SMOVE';
describe('SMOVE', () => {
it('transformArguments', () => {
assert.deepEqual(
transformArguments('source', 'destination', 'member'),
['SMOVE', 'source', 'destination', 'member']
);
});
// describe('SMOVE', () => {
// it('transformArguments', () => {
// assert.deepEqual(
// transformArguments('source', 'destination', 'member'),
// ['SMOVE', 'source', 'destination', 'member']
// );
// });
testUtils.testWithClient('client.sMove', async client => {
assert.equal(
await client.sMove('source', 'destination', 'member'),
false
);
}, GLOBAL.SERVERS.OPEN);
});
// testUtils.testWithClient('client.sMove', async client => {
// assert.equal(
// await client.sMove('source', 'destination', 'member'),
// false
// );
// }, GLOBAL.SERVERS.OPEN);
// });