1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-10 11:43:01 +03:00
Files
node-redis/packages/client/lib/commands/LASTSAVE.spec.ts
Leibale 442a554fce WIP
2023-05-10 16:07:29 +03:00

17 lines
441 B
TypeScript

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