Skip to content

Commit 4573b5b

Browse files
committed
run prettier
1 parent 5a75bcd commit 4573b5b

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

test/js/valkey/valkey.test.ts

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff 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
});

0 commit comments

Comments
 (0)