1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-06 02:15:48 +03:00
This commit is contained in:
shacharPash
2023-05-18 13:07:00 +03:00
parent 454e87b678
commit 319af5b566
2 changed files with 9 additions and 12 deletions

View File

@@ -4,11 +4,11 @@ import { transformArguments } from './MSET';
describe('MSET', () => {
testUtils.isVersionGreaterThanHook([2, 6]);
describe('transformArguments', () => {
it('transformArguments', () => {
assert.deepEqual(
transformArguments([{ key: "key", path: "$", value: "json" }, { key: "key2", path: "$", value: "json2" }]),
transformArguments([{ key: 'key', path: '$', value: 'json' }, { key: 'key2', path: '$', value: 'json2' }]),
['JSON.MSET', 'key', '$', '"json"', 'key2', '$', '"json2"']
);
});
@@ -21,4 +21,4 @@ describe('MSET', () => {
'OK'
);
}, GLOBAL.SERVERS.OPEN);
});
});