You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
fix MOVE spec
This commit is contained in:
@@ -10,10 +10,13 @@ describe('MOVE', () => {
|
||||
);
|
||||
});
|
||||
|
||||
testUtils.testWithClient('client.move', async client => {
|
||||
testUtils.testAll('move', async client => {
|
||||
assert.equal(
|
||||
await client.move('key', 1),
|
||||
1
|
||||
);
|
||||
}, GLOBAL.SERVERS.OPEN);
|
||||
}, {
|
||||
client: GLOBAL.SERVERS.OPEN,
|
||||
cluster: GLOBAL.CLUSTERS.OPEN
|
||||
});
|
||||
});
|
||||
|
@@ -93,6 +93,7 @@ import LREM from './LREM';
|
||||
import LSET from './LSET';
|
||||
import LTRIM from './LTRIM';
|
||||
import MGET from './MGET';
|
||||
import MOVE from './MOVE';
|
||||
import MSET from './MSET';
|
||||
import MSETNX from './MSETNX';
|
||||
import PERSIST from './PERSIST';
|
||||
@@ -376,6 +377,8 @@ export default {
|
||||
lTrim: LTRIM,
|
||||
MGET,
|
||||
mGet: MGET,
|
||||
MOVE,
|
||||
move: MOVE,
|
||||
MSET,
|
||||
mSet: MSET,
|
||||
MSETNX,
|
||||
|
Reference in New Issue
Block a user