diff --git a/packages/client/lib/client/index.spec.ts b/packages/client/lib/client/index.spec.ts index 21abe8a25f..51dded18b1 100644 --- a/packages/client/lib/client/index.spec.ts +++ b/packages/client/lib/client/index.spec.ts @@ -444,16 +444,16 @@ describe('Client', () => { } }); - // testUtils.testWithClient('executeIsolated', async client => { - // await client.sendCommand(['CLIENT', 'SETNAME', 'client']); + testUtils.testWithClient('executeIsolated', async client => { + await client.sendCommand(['CLIENT', 'SETNAME', 'client']); - // assert.equal( - // await client.executeIsolated(isolatedClient => - // isolatedClient.sendCommand(['CLIENT', 'GETNAME']) - // ), - // null - // ); - // }, GLOBAL.SERVERS.OPEN); + assert.equal( + await client.executeIsolated(isolatedClient => + isolatedClient.sendCommand(['CLIENT', 'GETNAME']) + ), + null + ); + }, GLOBAL.SERVERS.OPEN); async function killClient(client: RedisClientType): Promise { const onceErrorPromise = once(client, 'error'); diff --git a/packages/client/lib/commands/COMMAND.spec.ts b/packages/client/lib/commands/COMMAND.spec.ts index 04ceab2a07..baad79845a 100644 --- a/packages/client/lib/commands/COMMAND.spec.ts +++ b/packages/client/lib/commands/COMMAND.spec.ts @@ -11,7 +11,7 @@ describe('COMMAND', () => { ); }); - // testUtils.testWithClient('client.command', async client => { - // assertPingCommand((await client.command()).find(command => command.name === 'ping')); - // }, GLOBAL.SERVERS.OPEN); + testUtils.testWithClient('client.command', async client => { + assertPingCommand((await client.command()).find(command => command.name === 'ping')); + }, GLOBAL.SERVERS.OPEN); });