renovate/lib/modules/versioning/ubuntu
Gabriel-Ladzaretti a377295642
refactor(versioning/distro): Move date handling into distro.ts (#15271)
* refactor(versioning/distro): Move date handling into distro.ts

- moved all time/date handling into distro.ts

- date freeze for ubuntu/distro unit tests

* refactor(versioning/distro): Move date handling into distro.ts

- restore deleted test cases for ubuntu unit tests

* refactor(versioning/distro): Move date handling into distro.ts

- removed distro time mocking

* refactor(versioning/distro): Move date handling into distro.ts

 - DistroInfo constructor is no longer date dependent

 - Restored DateTime mock

* refactor(versioning/distro): Move date handling into distro.ts

 - convert a while to a for loop

* refactor(versioning/distro): Move date handling into distro.ts

 - unit tests went further back in time

* Update lib/modules/versioning/distro.spec.ts

* refactor(versioning/distro): Move date handling into distro.ts

 - cr changes

* refactor(versioning/distro): Move date handling into distro.ts

- cr changes

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-05-11 06:03:58 +02:00
..
index.spec.ts refactor(versioning/distro): Move date handling into distro.ts (#15271) 2022-05-11 06:03:58 +02:00
index.ts refactor(versioning/distro): Move date handling into distro.ts (#15271) 2022-05-11 06:03:58 +02:00