diff --git a/CHANGELOG.md b/CHANGELOG.md index e9224d1245..cdfbc333a0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -31,6 +31,7 @@ * Node: Added `JSON.TYPE` ([#2510](https://github.com/valkey-io/valkey-glide/pull/2510)) * Java: Added `JSON.RESP` ([#2513](https://github.com/valkey-io/valkey-glide/pull/2513)) * Node: Added `FT.DROPINDEX` ([#2516](https://github.com/valkey-io/valkey-glide/pull/2516)) +* Node: Added `JSON.RESP` ([#2517](https://github.com/valkey-io/valkey-glide/pull/2517)) #### Breaking Changes diff --git a/node/tests/ServerModules.test.ts b/node/tests/ServerModules.test.ts index 04d443f3dc..4ec5757fd7 100644 --- a/node/tests/ServerModules.test.ts +++ b/node/tests/ServerModules.test.ts @@ -672,7 +672,7 @@ describe("Server Module Tests", () => { ).toEqual(["foo"]); expect( await GlideJson.resp(client, key, { path: ".str" }), - ).toEqual(["foo"]); + ).toEqual("foo"); // setup new json value const jsonValue2 = {