1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-04 15:02:09 +03:00

uncomment TIME tests

This commit is contained in:
leibale
2021-11-09 12:32:21 -05:00
parent 69d98bf39c
commit 64df5dc76e

View File

@@ -10,9 +10,9 @@ describe('TIME', () => {
);
});
// testUtils.testWithClient('client.time', async client => {
// const reply = await client.time();
// assert.ok(reply instanceof Date);
// assert.ok(typeof reply.microseconds === 'number');
// }, GLOBAL.SERVERS.OPEN);
testUtils.testWithClient('client.time', async client => {
const reply = await client.time();
assert.ok(reply instanceof Date);
assert.ok(typeof reply.microseconds === 'number');
}, GLOBAL.SERVERS.OPEN);
});