Skip to content

Commit

Permalink
fix: tests when KEEP_PAST_RUNS is defined
Browse files Browse the repository at this point in the history
  • Loading branch information
claustres committed Apr 26, 2024
1 parent 343afdf commit dca302d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dca302d

Please sign in to comment.