@@ -10,6 +10,7 @@ describe('INCRBY', () => {
10
10
[ 'TS.INCRBY' , 'key' , '1' ]
11
11
) ;
12
12
} ) ;
13
+
13
14
it ( 'with TIMESTAMP' , ( ) => {
14
15
assert . deepEqual (
15
16
transformArguments ( 'key' , 1 , {
@@ -18,6 +19,7 @@ describe('INCRBY', () => {
18
19
[ 'TS.INCRBY' , 'key' , '1' , 'TIMESTAMP' , '*' ]
19
20
) ;
20
21
} ) ;
22
+
21
23
it ( 'with RETENTION' , ( ) => {
22
24
assert . deepEqual (
23
25
transformArguments ( 'key' , 1 , {
@@ -26,6 +28,7 @@ describe('INCRBY', () => {
26
28
[ 'TS.INCRBY' , 'key' , '1' , 'RETENTION' , '100' ]
27
29
) ;
28
30
} ) ;
31
+
29
32
it ( 'with UNCOMPRESSED' , ( ) => {
30
33
assert . deepEqual (
31
34
transformArguments ( 'key' , 1 , {
@@ -34,6 +37,7 @@ describe('INCRBY', () => {
34
37
[ 'TS.INCRBY' , 'key' , '1' , 'UNCOMPRESSED' ]
35
38
) ;
36
39
} ) ;
40
+
37
41
it ( 'without UNCOMPRESSED' , ( ) => {
38
42
assert . deepEqual (
39
43
transformArguments ( 'key' , 1 , {
@@ -42,6 +46,7 @@ describe('INCRBY', () => {
42
46
[ 'TS.INCRBY' , 'key' , '1' ]
43
47
) ;
44
48
} ) ;
49
+
45
50
it ( 'with CHUNK_SIZE' , ( ) => {
46
51
assert . deepEqual (
47
52
transformArguments ( 'key' , 1 , {
@@ -50,6 +55,7 @@ describe('INCRBY', () => {
50
55
[ 'TS.INCRBY' , 'key' , '1' , 'CHUNK_SIZE' , '100' ]
51
56
) ;
52
57
} ) ;
58
+
53
59
it ( 'with LABELS' , ( ) => {
54
60
assert . deepEqual (
55
61
transformArguments ( 'key' , 1 , {
@@ -58,6 +64,7 @@ describe('INCRBY', () => {
58
64
[ 'TS.INCRBY' , 'key' , '1' , 'LABELS' , 'label' , 'value' ]
59
65
) ;
60
66
} ) ;
67
+
61
68
it ( 'with TIMESTAMP, RETENTION, UNCOMPRESSED, CHUNK_SIZE and LABELS' , ( ) => {
62
69
assert . deepEqual (
63
70
transformArguments ( 'key' , 1 , {
@@ -73,7 +80,7 @@ describe('INCRBY', () => {
73
80
} ) ;
74
81
} ) ;
75
82
76
- testUtils . testWithClient ( 'client.ts.decrBy ' , async client => {
83
+ testUtils . testWithClient ( 'client.ts.incrBy ' , async client => {
77
84
await Promise . all ( [
78
85
client . ts . create ( 'key' ) ,
79
86
] ) ;
0 commit comments