Server/project/tests
Refringe 3ba9e48a3e
Updates TimeUtil Class
- Adds the `date-fns-tz` module to dep.
- Moves the `date-fns` module from development dependancies to dependancies.
- Removes the depreciated `substr` method usage.
- Adds the `pad` method to handle padding time digits.
- Dates and times are now standardized UTC.
- Adds basic tests for all methods.
2023-11-07 21:32:57 -05:00
..
__factories__ Additional InsuranceController Tests 2023-11-03 17:39:33 -04:00
__fixture__ Updates 🚀 2023-11-02 01:47:28 -04:00
__mocks__ Override WinstonLogger registration with a mock 2023-11-02 15:58:16 +00:00
controllers Remove the resetAllMocks call because restoreAllMocks does the same thing, plus restores the mocked method's original functionality. 2023-11-06 15:35:46 -05:00
generators Remove the resetAllMocks call because restoreAllMocks does the same thing, plus restores the mocked method's original functionality. 2023-11-06 15:35:46 -05:00
helpers Add tests for getRandomCompatibleCaliberTemplateId() 2023-11-07 22:21:48 +00:00
services Tests: Moves class (re)resolution to beforeEach to help ensure that all mocks have been reset. 2023-11-06 14:39:12 -05:00
utils Updates TimeUtil Class 2023-11-07 21:32:57 -05:00
CustomEnvironment.ts Remove the resetAllMocks call because restoreAllMocks does the same thing, plus restores the mocked method's original functionality. 2023-11-06 15:35:46 -05:00