Update hivegrid-cloud reference to latest main
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e98d38e716
commit
7b21524c86
3781 files changed
+373484
-225607
No files matched your search
@@ -109,4 +109,18 @@ describe("resolveRedisConnectionOptions", () => {
|
||||
expect(invalidDatabaseError).toMatchObject({ message: "BULLMQ_REDIS_URL database index must be a non-negative integer." });
|
||||
expectRedacted(invalidDatabaseError);
|
||||
});
|
||||
|
||||
test("defaults the port to 6379 and leaves db/tls unset when the URL omits them", () => {
|
||||
const parsed = parseRedisUrl("redis://redis.internal");
|
||||
|
||||
expect(parsed).toMatchObject({
|
||||
host: "redis.internal",
|
||||
port: 6379,
|
||||
maxRetriesPerRequest: null,
|
||||
});
|
||||
expect(parsed.db).toBeUndefined();
|
||||
expect(parsed.tls).toBeUndefined();
|
||||
expect(parsed.password).toBeUndefined();
|
||||
expect(parsed.username).toBeUndefined();
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user