Skip to content

Commit

Permalink
Is this the solution that fixes the flaky test?
Browse files Browse the repository at this point in the history
  • Loading branch information
hupf committed Jun 18, 2024
1 parent 30897fe commit 70c8ee9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export class MyAbsencesReportStateService extends PaginatedEntriesService<
entries: ReadonlyArray<TimetableEntry>,
): ReadonlyArray<TimetableEntry> {
return this.preventAbsencesAfterStart
? entries.filter((entry) => entry.From >= new Date())
? entries.filter((entry) => entry.From.getTime() >= new Date().getTime())
: entries;
}

Expand Down

0 comments on commit 70c8ee9

Please sign in to comment.