File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
redisinsight/ui/src/pages/browser/components/key-list Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -136,15 +136,21 @@ describe('KeyList', () => {
136
136
/> )
137
137
138
138
await waitFor ( async ( ) => {
139
- expect ( apiServiceMock ) . toBeCalledTimes ( 2 )
139
+ expect ( apiServiceMock ) . toBeCalledTimes ( 3 )
140
140
141
141
expect ( apiServiceMock . mock . calls [ 0 ] ) . toEqual ( [
142
142
'/instance//keys/get-metadata' ,
143
- { keys : [ 'key1' ] } ,
143
+ { keys : [ 'key1' , 'key2' , 'key3' ] } ,
144
144
params ,
145
145
] )
146
146
147
147
expect ( apiServiceMock . mock . calls [ 1 ] ) . toEqual ( [
148
+ '/instance//keys/get-metadata' ,
149
+ { keys : [ 'key1' ] } ,
150
+ params ,
151
+ ] )
152
+
153
+ expect ( apiServiceMock . mock . calls [ 2 ] ) . toEqual ( [
148
154
'/instance//keys/get-metadata' ,
149
155
{ keys : [ 'key1' , 'key2' , 'key3' ] } ,
150
156
params ,
You can’t perform that action at this time.
0 commit comments