Server/project/tests
Refringe 0ad85b45e1
Small ItemHelper.getRandomCompatibleCaliberTemplateId() Improvements
- Updated to safely access a deeply nested property.
- Updated to safely access the item `_id` and `_name` properties in the warning log.
- Updated to use the `RandomUtil.getArrayValue()` method to select a random ammo item template ID.
- Finished up some tests.
2023-11-07 22:59:04 -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 Small ItemHelper.getRandomCompatibleCaliberTemplateId() Improvements 2023-11-07 22:59:04 -05: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