stable

Clone or download

Read-only

Move getBeginningOfNextNthMonth closer to TimePeriodMonth

It is only used by TimePeriodMonth and was already covered by the TimePeriodMonth tests. Took the opportunity to add missing tests so that TimePeriodMonth has 100% coverage. Part of story #19734: have a Roadmap widget on dashboard Change-Id: I01a6612eba4337ded5c1dc3530f487c45c09331a

Modified Files

Name
D plugins/roadmap/scripts/roadmap-widget/src/helpers/beginning-of-next-nth-month.test.ts +0 −28 Go to diff View file
D plugins/roadmap/scripts/roadmap-widget/src/helpers/beginning-of-next-nth-month.ts +0 −26 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/helpers/time-period-month.test.ts +24 −0 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/helpers/time-period-month.ts +8 −1 Go to diff View file