Skip to content

Commit

Permalink
chore: fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
viceice committed Sep 3, 2021
1 parent 78bc1ea commit 9a7f728
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/workers/pr/changelog/release-notes.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ describe('workers/pr/changelog/release-notes', () => {
const now = DateTime.local();
it.each([
[now, 55],
[now.minus({ week: 2 }), 1435],
[now.minus({ year: 1 }), 14495],
[now.minus({ weeks: 2 }), 1435],
[now.minus({ years: 1 }), 14495],
])('works with string date (%s, %i)', (date, minutes) => {
expect(releaseNotesCacheMinutes(date?.toISO())).toEqual(minutes);
});
Expand Down

0 comments on commit 9a7f728

Please sign in to comment.