You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-10 11:43:01 +03:00
29 lines
819 B
TypeScript
29 lines
819 B
TypeScript
// import { strict as assert } from 'assert';
|
|
// import testUtils, { GLOBAL } from '../test-utils';
|
|
// import { transformArguments } from './SUNION';
|
|
|
|
// describe('SUNION', () => {
|
|
// describe('transformArguments', () => {
|
|
// it('string', () => {
|
|
// assert.deepEqual(
|
|
// transformArguments('key'),
|
|
// ['SUNION', 'key']
|
|
// );
|
|
// });
|
|
|
|
// it('array', () => {
|
|
// assert.deepEqual(
|
|
// transformArguments(['1', '2']),
|
|
// ['SUNION', '1', '2']
|
|
// );
|
|
// });
|
|
// });
|
|
|
|
// testUtils.testWithClient('client.sUnion', async client => {
|
|
// assert.deepEqual(
|
|
// await client.sUnion('key'),
|
|
// []
|
|
// );
|
|
// }, GLOBAL.SERVERS.OPEN);
|
|
// });
|