File tree Expand file tree Collapse file tree 1 file changed +9
-13
lines changed Expand file tree Collapse file tree 1 file changed +9
-13
lines changed Original file line number Diff line number Diff line change @@ -179,18 +179,15 @@ describe.skipIf(!isEnabled)("Valkey Redis Client", () => {
179179 } ) ;
180180
181181 const testKeyUniquePerDb = crypto . randomUUID ( ) ;
182- test . each ( [ ...Array ( 16 ) . keys ( ) ] ) (
183- "Connecting to database with url $url succeeds" ,
184- async ( dbId : number ) => {
185- const redis = createClient ( ConnectionType . TCP , { } , dbId ) ;
186-
187- // Ensure the value is not in the database.
188- const testValue = await redis . get ( testKeyUniquePerDb ) ;
189- expect ( testValue ) . toBeNull ( ) ;
190-
191- redis . close ( ) ;
192- } ,
193- ) ;
182+ test . each ( [ ...Array ( 16 ) . keys ( ) ] ) ( "Connecting to database with url $url succeeds" , async ( dbId : number ) => {
183+ const redis = createClient ( ConnectionType . TCP , { } , dbId ) ;
184+
185+ // Ensure the value is not in the database.
186+ const testValue = await redis . get ( testKeyUniquePerDb ) ;
187+ expect ( testValue ) . toBeNull ( ) ;
188+
189+ redis . close ( ) ;
190+ } ) ;
194191 } ) ;
195192
196193 describe ( "Reconnections" , ( ) => {
@@ -210,7 +207,6 @@ describe.skipIf(!isEnabled)("Valkey Redis Client", () => {
210207
211208 const valueAfterStop = await ctx . redis . get ( TEST_KEY ) ;
212209 expect ( valueAfterStop ) . toBe ( TEST_VALUE ) ;
213-
214210 } ) ;
215211 } ) ;
216212} ) ;
You can’t perform that action at this time.
0 commit comments