From 9f98105dd048b3cc262e709507b2c68e04d95328 Mon Sep 17 00:00:00 2001 From: Marco Ippolito Date: Fri, 13 Dec 2024 16:28:21 +0100 Subject: [PATCH] fixup --- .../committers/src/lib/committers-monthly.spec.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libs/report/committers/src/lib/committers-monthly.spec.ts b/libs/report/committers/src/lib/committers-monthly.spec.ts index c21f7f8..d71843d 100644 --- a/libs/report/committers/src/lib/committers-monthly.spec.ts +++ b/libs/report/committers/src/lib/committers-monthly.spec.ts @@ -34,16 +34,16 @@ describe('parseMonthly', () => { expect(result).toEqual([ { month: 'January 2023', - start: new Date('2022-12-31T23:00:00.000Z'), // Start of January - end: new Date('2023-01-31T23:00:00.000Z'), // End of January + start: new Date('2023-01-01T00:00:00.000Z'), + end: new Date('2023-02-01T00:00:00.000Z'), committers: { Marco: 2, }, }, { month: 'February 2023', - start: new Date('2023-01-31T23:00:00.000Z'), // Start of February - end: new Date('2023-02-28T23:00:00.000Z'), // End of February + start: new Date('2023-02-01T00:00:00.000Z'), + end: new Date('2023-03-01T00:00:00.000Z'), committers: { George: 1, Marco: 1, @@ -76,8 +76,8 @@ describe('parseMonthly', () => { expect(result).toEqual([ { month: 'March 2023', - start: new Date('2023-02-28T23:00:00.000Z'), // Start of March - end: new Date('2023-03-31T22:00:00.000Z'), // End of March + start: new Date('2023-03-01T00:00:00.000Z'), + end: new Date('2023-04-01T00:00:00.000Z'), committers: { Greg: 1, },