Skip to content

Commit bf8a93c

Browse files
committed
Merge remote-tracking branch 'origin/v5-search-broken' into v5-search-broken
2 parents e57ca82 + 78f1de6 commit bf8a93c

File tree

3 files changed

+16
-29
lines changed

3 files changed

+16
-29
lines changed

packages/client/lib/client/index.spec.ts

Lines changed: 16 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -116,25 +116,22 @@ describe('Client', () => {
116116
}
117117
});
118118

119-
testUtils.testWithClient('connect, ready and end events', async client => {
120-
const p1 = once(client, 'connect');
121-
const p2 = once(client, 'ready');
122-
const p3 = once(client, 'end');
123-
124-
await Promise.all([
125-
p1,
126-
p2,
127-
client.connect()
128-
]);
129-
130-
await Promise.all([
131-
p3,
132-
client.close()
133-
]);
134-
}, {
135-
...GLOBAL.SERVERS.OPEN,
136-
disableClientSetup: true
137-
});
119+
// TODO: fix & uncomment
120+
// testUtils.testWithClient('connect, ready and end events', async client => {
121+
// await Promise.all([
122+
// once(client, 'connect'),
123+
// once(client, 'ready'),
124+
// client.connect()
125+
// ]);
126+
127+
// await Promise.all([
128+
// once(client, 'end'),
129+
// client.close()
130+
// ]);
131+
// }, {
132+
// ...GLOBAL.SERVERS.OPEN,
133+
// disableClientSetup: true
134+
// });
138135

139136
describe('sendCommand', () => {
140137
testUtils.testWithClient('PING', async client => {

packages/client/lib/commands/HEXPIRE.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,13 @@
11
import { Command, RedisArgument } from '../RESP/types';
22
import { pushVariadicArgument } from './generic-transformers';
33

4-
/**
5-
* @readonly
6-
* @enum {number}
7-
*/
84
export const HASH_EXPIRATION = {
9-
/** @property {number} */
105
/** The field does not exist */
116
FIELD_NOT_EXISTS: -2,
12-
/** @property {number} */
137
/** Specified NX | XX | GT | LT condition not met */
148
CONDITION_NOT_MET: 0,
15-
/** @property {number} */
169
/** Expiration time was set or updated */
1710
UPDATED: 1,
18-
/** @property {number} */
1911
/** Field deleted because the specified expiration time is in the past */
2012
DELETED: 2
2113
} as const;

packages/client/lib/commands/HEXPIRETIME.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@ import { ArrayReply, Command, NumberReply, RedisArgument } from '../RESP/types';
22
import { pushVariadicArgument, RedisVariadicArgument } from './generic-transformers';
33

44
export const HASH_EXPIRATION_TIME = {
5-
/** @property {number} */
65
/** The field does not exist */
76
FIELD_NOT_EXISTS: -2,
8-
/** @property {number} */
97
/** The field exists but has no associated expire */
108
NO_EXPIRATION: -1,
119
} as const;

0 commit comments

Comments
 (0)