1
0
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:
leibale
2021-11-09 19:32:15 -05:00
parent 3ad8a227eb
commit 0e70f245c8
2 changed files with 12 additions and 12 deletions

View File

@@ -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');

View File

@@ -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);
}); });