Closed jonathanfallon closed 4 months ago
The recent updates focus on enhancing the operator retrieval system within the policy engine by introducing the getOperatorsAt
function. This function fetches operators based on specific timestamps, improving precision in operator selection across different policies. Unit tests and policy files have been adjusted accordingly to accommodate and verify these changes.
File Path | Change Summary |
---|---|
.../helpers/getOperatorsAt.spec.ts and .../helpers/getOperatorsAt.ts |
Introduced and tested the getOperatorsAt function for retrieving timestamped operators. |
.../policies/Cotentin2023.spec.ts and .../policies/Cotentin2023.ts |
Updated operator handling with timestamped data and integrated getOperatorsAt function. |
.../policies/GrandPoitiers.spec.ts and .../policies/GrandPoitiers.ts |
Reordered tests and updated operator retrieval to use the new getOperatorsAt function. |
🐰✨ Oh hooray! Oh joy! What a fine day, Code hops and leaps in a most clever way. Timestamps align, the operators stay, In their right place, come night or day. Celebrate, dear friends, with a cheer, hooray! 🎉 🐰✨
Remplacer Klaxit par BBCD à partir du 01/04/2024
Summary by CodeRabbit
New Features
Bug Fixes
Tests