Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

test(ingress): give the bucket-ordering test a preflight that fires

Yudhi Armyndharis2fb5281afa63
diff --git a/src/modules/integration/ingress.service.spec.ts b/src/modules/integration/ingress.service.spec.ts
index 059277cf3..6718d5399 100644
--- a/src/modules/integration/ingress.service.spec.ts
+++ b/src/modules/integration/ingress.service.spec.ts
@@ -880,7 +880,7 @@ describe('IngressService per-instance rate bucket', () => {
route: 'chatwoot',
maxBodyBytes: 1024,
signature: { scheme: 'none' },
- response: { preflight: ['session-alive'], ack: { status: 200 } },
+ response: { preflight: [{ type: 'session-alive' }], ack: { status: 200 } },
}),
}),
);