NodeRedis/node-redis

View on GitHub
packages/client/lib/commands/COMMAND.spec.ts

Summary

Maintainability
A
0 mins
Test Coverage
// import { strict as assert } from 'node:assert';
// import testUtils, { GLOBAL } from '../test-utils';
// import { transformArguments } from './COMMAND';
// import { assertPingCommand } from './COMMAND_INFO.spec';

// describe('COMMAND', () => {
//     it('transformArguments', () => {
//         assert.deepEqual(
//             transformArguments(),
//             ['COMMAND']
//         );
//     });

//     testUtils.testWithClient('client.command', async client => {
//         assertPingCommand((await client.command()).find(command => command.name === 'ping'));
//     }, GLOBAL.SERVERS.OPEN);
// });