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