You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-09 00:22:08 +03:00
some more commands
This commit is contained in:
@@ -1,19 +1,19 @@
|
||||
import { strict as assert } from 'assert';
|
||||
import testUtils, { GLOBAL } from '../test-utils';
|
||||
import { transformArguments } from './PUBSUB_NUMPAT';
|
||||
import PUBSUB_NUMPAT from './PUBSUB_NUMPAT';
|
||||
|
||||
describe('PUBSUB NUMPAT', () => {
|
||||
it('transformArguments', () => {
|
||||
assert.deepEqual(
|
||||
transformArguments(),
|
||||
['PUBSUB', 'NUMPAT']
|
||||
);
|
||||
});
|
||||
it('transformArguments', () => {
|
||||
assert.deepEqual(
|
||||
PUBSUB_NUMPAT.transformArguments(),
|
||||
['PUBSUB', 'NUMPAT']
|
||||
);
|
||||
});
|
||||
|
||||
testUtils.testWithClient('client.pubSubNumPat', async client => {
|
||||
assert.equal(
|
||||
await client.pubSubNumPat(),
|
||||
0
|
||||
);
|
||||
}, GLOBAL.SERVERS.OPEN);
|
||||
testUtils.testWithClient('client.pubSubNumPat', async client => {
|
||||
assert.equal(
|
||||
await client.pubSubNumPat(),
|
||||
0
|
||||
);
|
||||
}, GLOBAL.SERVERS.OPEN);
|
||||
});
|
||||
|
Reference in New Issue
Block a user