diff --git a/packages/client/lib/commands/MOVE.spec.ts b/packages/client/lib/commands/MOVE.spec.ts index f6fcfdbad4..63e10c8e10 100644 --- a/packages/client/lib/commands/MOVE.spec.ts +++ b/packages/client/lib/commands/MOVE.spec.ts @@ -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 + }); }); diff --git a/packages/client/lib/commands/index.ts b/packages/client/lib/commands/index.ts index 7644ef2c9b..b439c7ff10 100644 --- a/packages/client/lib/commands/index.ts +++ b/packages/client/lib/commands/index.ts @@ -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, diff --git a/todo.md b/todo.md index bb05f695e4..aea88196df 100644 --- a/todo.md +++ b/todo.md @@ -11,7 +11,7 @@ # waiting List categoreis -- Generic +- Generic - String - Hash - List @@ -27,6 +27,7 @@ - `ZPOPMIN.ts` - `ZREVRANGE WITHSCORE` - `ZRANK WITHSCORE` +- `MIGRATE` # other