Refresh HiveGrid Cloud reference snapshot
This commit is contained in:
1 parent
5e99e14772
commit
7f88026f79
5955 files changed
+1177325
-188362
No files matched your search
@@ -30,6 +30,7 @@ describe("buildLegacyEventWebhookAttemptDeliveryJob", () => {
|
||||
method: "POST",
|
||||
eventName: "legacy.event_webhook_attempt",
|
||||
body,
|
||||
tenantId: attempt.tenantId,
|
||||
metadata: {
|
||||
legacyAttemptId: attempt.id,
|
||||
legacyAttemptTenantId: attempt.tenantId,
|
||||
@@ -79,7 +80,7 @@ describe("queueLegacyEventWebhookAttemptDelivery", () => {
|
||||
descriptor.payload,
|
||||
// priority is resolved from attempt.tenantId; without a registered
|
||||
// plan lookup it falls back to NORMAL (5).
|
||||
{ ...buildRetryJobOptions(descriptor), removeOnComplete: false, jobId: attempt.id, priority: 5 }
|
||||
{ ...buildRetryJobOptions(descriptor), removeOnComplete: 10_000, jobId: attempt.id, priority: 5 }
|
||||
);
|
||||
expect(result).toEqual({
|
||||
enqueued: true,
|
||||
@@ -106,7 +107,7 @@ describe("queueLegacyEventWebhookAttemptDelivery", () => {
|
||||
expect.objectContaining({
|
||||
kind: "webhook.deliver",
|
||||
}),
|
||||
{ ...buildRetryJobOptions(descriptor), removeOnComplete: false, jobId: attempt.id, priority: 5 }
|
||||
{ ...buildRetryJobOptions(descriptor), removeOnComplete: 10_000, jobId: attempt.id, priority: 5 }
|
||||
);
|
||||
expect(queue.close).not.toHaveBeenCalled();
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user