NodeRedis/node-redis

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

Summary

Maintainability
A
30 mins
Test Coverage
import { strict as assert } from 'node:assert';
import CLIENT_GETREDIR from './CLIENT_GETREDIR';
import { parseArgs } from './generic-transformers';

describe('CLIENT GETREDIR', () => {
  it('transformArguments', () => {
    assert.deepEqual(
      parseArgs(CLIENT_GETREDIR),
      ['CLIENT', 'GETREDIR']
    );
  });
});