You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-09 00:22:08 +03:00
26 lines
856 B
TypeScript
26 lines
856 B
TypeScript
// import { strict as assert } from 'assert';
|
|
// import testUtils, { GLOBAL } from '../test-utils';
|
|
// import { transformArguments } from './XGROUP_CREATECONSUMER';
|
|
|
|
// describe('XGROUP CREATECONSUMER', () => {
|
|
// testUtils.isVersionGreaterThanHook([6, 2]);
|
|
|
|
// it('transformArguments', () => {
|
|
// assert.deepEqual(
|
|
// transformArguments('key', 'group', 'consumer'),
|
|
// ['XGROUP', 'CREATECONSUMER', 'key', 'group', 'consumer']
|
|
// );
|
|
// });
|
|
|
|
// testUtils.testWithClient('client.xGroupCreateConsumer', async client => {
|
|
// await client.xGroupCreate('key', 'group', '$', {
|
|
// MKSTREAM: true
|
|
// });
|
|
|
|
// assert.equal(
|
|
// await client.xGroupCreateConsumer('key', 'group', 'consumer'),
|
|
// true
|
|
// );
|
|
// }, GLOBAL.SERVERS.OPEN);
|
|
// });
|