1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-09 00:22:08 +03:00
Files
node-redis/packages/client/lib/commands/TIME.spec.ts

19 lines
557 B
TypeScript

import { strict as assert } from 'assert';
import testUtils, { GLOBAL } from '../test-utils';
import { transformArguments } from './TIME';
describe('TIME', () => {
it('transformArguments', () => {
assert.deepEqual(
transformArguments(),
['TIME']
);
});
// testUtils.testWithClient('client.time', async client => {
// const reply = await client.time();
// assert.ok(reply instanceof Date);
// assert.ok(typeof reply.microseconds === 'number');
// }, GLOBAL.SERVERS.OPEN);
});