Free, Open Source, Self-Hosted WhatsApp API Gateway
TypeScript apibotgatewayself-hostedwhatsappwhatsapp-apiwhatsapp-automationwhatsapp-botwhatsapp-gatewaywhatsapp-gateway-apiwhatsapp-webwhatsapp-web-api
test(dashboard): re-point restartPoll's source-text guard to useRestartFlow
Yudhi Armyndharis5eec0fd6f9f5
diff --git a/dashboard/src/utils/restartPoll.test.ts b/dashboard/src/utils/restartPoll.test.tsindex 283b808aa..0b94dfda8 100644--- a/dashboard/src/utils/restartPoll.test.ts+++ b/dashboard/src/utils/restartPoll.test.ts@@ -52,5 +52,5 @@ test('the restart poll targets readiness, not a ping that survives the drain', (});test('the poll deadline comes from the helper rather than a bare constant', () => {- assert.match(read('../pages/Infrastructure.tsx'), /const maxAttempts = restartPollAttempts\(/);+ assert.match(read('../hooks/useRestartFlow.ts'), /const maxAttempts = restartPollAttempts\(/);});