You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
uncomment some tests
This commit is contained in:
@@ -444,16 +444,16 @@ describe('Client', () => {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// testUtils.testWithClient('executeIsolated', async client => {
|
testUtils.testWithClient('executeIsolated', async client => {
|
||||||
// await client.sendCommand(['CLIENT', 'SETNAME', 'client']);
|
await client.sendCommand(['CLIENT', 'SETNAME', 'client']);
|
||||||
|
|
||||||
// assert.equal(
|
assert.equal(
|
||||||
// await client.executeIsolated(isolatedClient =>
|
await client.executeIsolated(isolatedClient =>
|
||||||
// isolatedClient.sendCommand(['CLIENT', 'GETNAME'])
|
isolatedClient.sendCommand(['CLIENT', 'GETNAME'])
|
||||||
// ),
|
),
|
||||||
// null
|
null
|
||||||
// );
|
);
|
||||||
// }, GLOBAL.SERVERS.OPEN);
|
}, GLOBAL.SERVERS.OPEN);
|
||||||
|
|
||||||
async function killClient<M extends RedisModules, S extends RedisScripts>(client: RedisClientType<M, S>): Promise<void> {
|
async function killClient<M extends RedisModules, S extends RedisScripts>(client: RedisClientType<M, S>): Promise<void> {
|
||||||
const onceErrorPromise = once(client, 'error');
|
const onceErrorPromise = once(client, 'error');
|
||||||
|
@@ -11,7 +11,7 @@ describe('COMMAND', () => {
|
|||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
// testUtils.testWithClient('client.command', async client => {
|
testUtils.testWithClient('client.command', async client => {
|
||||||
// assertPingCommand((await client.command()).find(command => command.name === 'ping'));
|
assertPingCommand((await client.command()).find(command => command.name === 'ping'));
|
||||||
// }, GLOBAL.SERVERS.OPEN);
|
}, GLOBAL.SERVERS.OPEN);
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user