From dca302d24a7eb7bd0431111b133c290e955af53f Mon Sep 17 00:00:00 2001 From: Luc Claustres Date: Fri, 26 Apr 2024 11:51:44 +0200 Subject: [PATCH] fix: tests when KEEP_PAST_RUNS is defined --- test/index.test.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/index.test.js b/test/index.test.js index b61f884..54e1c5e 100644 --- a/test/index.test.js +++ b/test/index.test.js @@ -32,6 +32,7 @@ function updateJobOptions (job, element) { Object.assign(nwpOptions, { runIndex: -2, // previous run to ensure it is already available upperLimit: nwpOptions.lowerLimit + nwpOptions.interval, + keepPastRuns: false, elements: [element] }) afterHooks = job.hooks.tasks.after