1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-10 11:43:01 +03:00
Files
node-redis/packages/client/lib/commands/XDEL.spec.ts
Leibale ab3973aca3 wip
2023-04-27 18:41:32 -04:00

29 lines
845 B
TypeScript

// import { strict as assert } from 'assert';
// import testUtils, { GLOBAL } from '../test-utils';
// import { transformArguments } from './XDEL';
// describe('XDEL', () => {
// describe('transformArguments', () => {
// it('string', () => {
// assert.deepEqual(
// transformArguments('key', '0-0'),
// ['XDEL', 'key', '0-0']
// );
// });
// it('array', () => {
// assert.deepEqual(
// transformArguments('key', ['0-0', '1-0']),
// ['XDEL', 'key', '0-0', '1-0']
// );
// });
// });
// testUtils.testWithClient('client.xDel', async client => {
// assert.equal(
// await client.xDel('key', '0-0'),
// 0
// );
// }, GLOBAL.SERVERS.OPEN);
// });