-
Notifications
You must be signed in to change notification settings - Fork 39
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
[MDS-4153] Added missing VFCBC fields to NoW #2611
Conversation
@@ -31,292 +31,4 @@ describe("ReviewApplicationFeeContent", () => { | |||
const component = shallow(<ReviewApplicationFeeContent {...props} />); | |||
expect(component).toMatchSnapshot(); | |||
}); | |||
|
|||
it("MIN: isApplicationFeeValid === true if `adjustedTonnage` is set and exceeds proposed tonnage for MIN", () => { |
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.
After converting the ReviewApplicationFeeContent
component into a functional component, these tests no longer work as you can't spy on functions within a functional component. As this type of testing is generally avoided in favour of user flow testing, I made the decision to get rid of them for now. We have upcoming tickets to implement Cypress tests for high value areas, and I think NoW is definitely one of those.
This reverts commit d04486e.
Objective
MDS-4153
Update core to accept and display new NoW fields from VFCBC