NodeRedis/node-redis

View on GitHub
packages/search/lib/commands/EXPLAINCLI.spec.ts

Summary

Maintainability
A
40 mins
Test Coverage
import { strict as assert } from 'node:assert';
import EXPLAINCLI from './EXPLAINCLI';
import { parseArgs } from '@redis/client/lib/commands/generic-transformers';

describe('EXPLAINCLI', () => {
  it('transformArguments', () => {
    assert.deepEqual(
      parseArgs(EXPLAINCLI, 'index', '*'),
      ['FT.EXPLAINCLI', 'index', '*']
    );
  });
});