1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-07 13:22:56 +03:00

fix some more

This commit is contained in:
Leibale
2023-05-14 14:54:09 +03:00
parent cf5510f55b
commit f8fa8878c3
5 changed files with 22 additions and 16 deletions

View File

@@ -1,19 +1,19 @@
import { strict as assert } from 'assert';
import testUtils, { GLOBAL } from '../test-utils';
import { transformArguments } from './DBSIZE';
import DBSIZE from './DBSIZE';
describe('DBSIZE', () => {
it('transformArguments', () => {
assert.deepEqual(
transformArguments(),
['DBSIZE']
);
});
it('transformArguments', () => {
assert.deepEqual(
DBSIZE.transformArguments(),
['DBSIZE']
);
});
testUtils.testWithClient('client.dbSize', async client => {
assert.equal(
await client.dbSize(),
0
);
}, GLOBAL.SERVERS.OPEN);
testUtils.testWithClient('client.dbSize', async client => {
assert.equal(
await client.dbSize(),
0
);
}, GLOBAL.SERVERS.OPEN);
});