From 8bf6cce000825992c2882cc82e7aad6d8eec81e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Ovejero?= Date: Tue, 10 Dec 2024 13:09:36 +0100 Subject: [PATCH] test: Allow runner tests to exit cleanly (#12127) --- .../src/js-task-runner/__tests__/task-runner.test.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/@n8n/task-runner/src/js-task-runner/__tests__/task-runner.test.ts b/packages/@n8n/task-runner/src/js-task-runner/__tests__/task-runner.test.ts index af3e727409..e12770f770 100644 --- a/packages/@n8n/task-runner/src/js-task-runner/__tests__/task-runner.test.ts +++ b/packages/@n8n/task-runner/src/js-task-runner/__tests__/task-runner.test.ts @@ -38,6 +38,8 @@ describe('TestRunner', () => { maxPayload: 1024, }), ); + + runner.clearIdleTimer(); }); it('should handle different taskBrokerUri formats correctly', () => { @@ -66,6 +68,8 @@ describe('TestRunner', () => { maxPayload: 1024, }), ); + + runner.clearIdleTimer(); }); it('should throw an error if taskBrokerUri is invalid', () => {