diff --git a/node/tests/GlideClusterClient.test.ts b/node/tests/GlideClusterClient.test.ts index 93293e3a83..149b5f5050 100644 --- a/node/tests/GlideClusterClient.test.ts +++ b/node/tests/GlideClusterClient.test.ts @@ -21,6 +21,7 @@ import { InfoOptions, ListDirection, ProtocolVersion, + recordToGlideRecord, RequestError, ReturnType, Routes, @@ -49,7 +50,6 @@ import { intoString, parseCommandLineArgs, parseEndpoints, - recordToGlideRecord, transactionTest, validateTransactionResponse, waitForNotBusy, diff --git a/node/tests/SharedTests.ts b/node/tests/SharedTests.ts index 138101ec24..e4926e4ca7 100644 --- a/node/tests/SharedTests.ts +++ b/node/tests/SharedTests.ts @@ -30,6 +30,7 @@ import { GeospatialData, GlideClient, GlideClusterClient, + GlideRecord, GlideString, HashDataType, InfBoundary, @@ -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; @@ -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(