Skip to content

Commit

Permalink
Addressed review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
yipin-chen committed Jun 7, 2024
1 parent ff4b12d commit de4d051
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion node/src/BaseClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2392,7 +2392,7 @@ export class BaseClient {
* The cardinality of a key that does not exist is 0.
* @example
* ```typescript
* const result = await client.pfcount("hll_1", "hll_2");
* const result = await client.pfcount(["hll_1", "hll_2"]);
* console.log(result); // Output: 4 - The approximated cardinality of the union of "hll_1" and "hll_2"
* ```
*/
Expand Down
2 changes: 1 addition & 1 deletion node/tests/RedisClusterClient.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ describe("RedisClusterClient", () => {
client.smove("abc", "zxy", "value"),
client.renamenx("abc", "zxy"),
client.sinter(["abc", "zxy", "lkn"]),
client.pfcount(["def", "ghi"]),
client.pfcount(["abc", "zxy", "lkn"]),
// TODO all rest multi-key commands except ones tested below
];

Expand Down

0 comments on commit de4d051

Please sign in to comment.