NodeRedis/node-redis

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

Summary

Maintainability
A
1 hr
Test Coverage
import { strict as assert } from 'node:assert';
import testUtils from '../test-utils';
import ACL_WHOAMI from './ACL_WHOAMI';
import { parseArgs } from './generic-transformers';

describe('ACL WHOAMI', () => {
  testUtils.isVersionGreaterThanHook([6]);

  it('transformArguments', () => {
    assert.deepEqual(
      parseArgs(ACL_WHOAMI),
      ['ACL', 'WHOAMI']
    );
  });
});