fix(AMQP Trigger Node): Update rhea library, tweak reconnection options (#18980)

This commit is contained in:
Elias Meire
2025-09-05 18:34:29 +02:00
committed by GitHub
parent 0ba924bda5
commit efc3a2d664
10 changed files with 406 additions and 40 deletions

View File

@@ -120,11 +120,11 @@ export async function testTriggerNode(
if (options.mode === 'manual') {
expect(response?.manualTriggerFunction).toBeInstanceOf(Function);
await response?.manualTriggerFunction?.();
}
return {
close: jest.fn(response?.closeFunction),
manualTriggerFunction: options.mode === 'manual' ? response?.manualTriggerFunction : undefined,
emit,
};
}