NodeRedis/node-redis

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

Summary

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

describe('REPLICAOF', () => {
  it('transformArguments', () => {
    assert.deepEqual(
      parseArgs(REPLICAOF, 'host', 1),
      ['REPLICAOF', 'host', '1']
    );
  });
});