-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GV Refactor - ComplexNoNonZeroNumOrDenom #2428
Conversation
Code Climate has analyzed commit bf3f1ba and detected 0 issues on this pull request. The test coverage on the diff in this pull request is 100.0% (90% is the threshold). This pull request will bring the total coverage in the repository to 85.0% (0.7% change). View more on Code Climate. |
.../ui-src/src/shared/globalValidations/ComplexValidations/ComplexNoNonZeroNumOrDenom/index.tsx
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am very excited about this refactor after having to work in this code before said refactor. This cleanup significantly improves the readability and flow of the code so great work.
tested on cloudfront and everything is working as expected!
Description
This validation is only used in AIF-HH & IU-HH. It triggers when you manually override the rate in N/D/R and set it to 0 if numerator and denominator are not 0.
Example of AIF-HH:
When rate is zero in Performance Measure NDR:
When rate is zero in OMS NDR:
When rate is zero in Other Performance Measure - OMS NDR:
Related ticket(s)
CMDCT-3961
How to test
Deploy Link: https://dh6fso9hk982p.cloudfront.net/
To test Performance Measure
Notes
Pre-review checklist
Pre-merge checklist
Review
Security
If either of the following are true, notify the team's ISSO (Information System Security Officer).
convert to a different template: test → val | val → prod