Skip to content

Commit

Permalink
Signed-off-by: Yury-Fridlyand <[email protected]>
Browse files Browse the repository at this point in the history
  • Loading branch information
Yury-Fridlyand committed Sep 5, 2024
1 parent 77e5794 commit 9da36d2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion node/tests/GlideClusterClient.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import {
InfoOptions,
ListDirection,
ProtocolVersion,
recordToGlideRecord,
RequestError,
ReturnType,
Routes,
Expand Down Expand Up @@ -49,7 +50,6 @@ import {
intoString,
parseCommandLineArgs,
parseEndpoints,
recordToGlideRecord,
transactionTest,
validateTransactionResponse,
waitForNotBusy,
Expand Down
12 changes: 6 additions & 6 deletions node/tests/SharedTests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ import {
GeospatialData,
GlideClient,
GlideClusterClient,
GlideRecord,
GlideString,
HashDataType,
InfBoundary,
Expand All @@ -55,11 +56,7 @@ import {
parseInfoResponse,
} from "../";
import { RedisCluster } from "../../utils/TestUtils";
import {
Client,
GetAndSetRandomValue,
getFirstResult,
} from "./TestUtilities";
import { Client, GetAndSetRandomValue, getFirstResult } from "./TestUtilities";

export type BaseClient = GlideClient | GlideClusterClient;

Expand Down Expand Up @@ -11222,7 +11219,10 @@ export function runBaseTests(config: {

// pushing to the arrays to be popped
expect(await client.lpush(key4, lpushArgs)).toEqual(5);
const expectedWithKey4 = { [key4]: ["one", "two"] };
const expectedWithKey4 = {
key: key4,
elements: ["one", "two"],
};

// checking correct result from popping
expect(
Expand Down

0 comments on commit 9da36d2

Please sign in to comment.