1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-06 02:15:48 +03:00

Fixed what I think are a couple of typos -> SORTBT -> SORTBY. (#1987)

* Fixed what I think are a couple of typos -> `SORTBT` -> `SORTBY`.

Fixed what I think are a couple of typos -> `SORTBT` -> `SORTBY`.

* Update index.spec.ts

Co-authored-by: Leibale Eidelman <leibale1998@gmail.com>
This commit is contained in:
Simon Prickett
2022-02-15 21:09:23 +00:00
committed by GitHub
parent 23991f7a0b
commit f738ac56b3

View File

@@ -5,15 +5,15 @@ describe('pushSortByArguments', () => {
describe('single', () => {
it('string', () => {
assert.deepEqual(
pushSortByArguments([], 'SORTBT', '@property'),
['SORTBT', '1', '@property']
pushSortByArguments([], 'SORTBY', '@property'),
['SORTBY', '1', '@property']
);
});
it('.BY', () => {
assert.deepEqual(
pushSortByArguments([], 'SORTBT', { BY: '@property' }),
['SORTBT', '1', '@property']
pushSortByArguments([], 'SORTBY', { BY: '@property' }),
['SORTBY', '1', '@property']
);
});