-
Notifications
You must be signed in to change notification settings - Fork 50
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
23554 - Fixed the Restoration Application Fee Summary Bug #744
Conversation
Signed-off-by: Qin <[email protected]>
/gcbrun |
Temporary Url for review: https://business-create-dev--pr-744-2ef0g708.web.app |
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.
Looks great!
Do you have time left in this ticket's estimate (3) to write a unit test(s) to verify this exact scenario?
Yes, sure, let me add some unit tests to verify it. |
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.
Nice 👍
Signed-off-by: Qin <[email protected]>
/gcbrun |
Temporary Url for review: https://business-create-dev--pr-744-2ef0g708.web.app |
it('displays the fee summary amount properly for restoration application', async () => { | ||
const feeSummary = wrapper.findComponent(SbcFeeSummary) | ||
// when restoration type is initially not chosen, the fee summary is called with empty [] | ||
expect(feeSummary.props('filingData')).toEqual([]) |
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.
Checking the component's props, nice!
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.
Looks good to me. Go ahead and merge this.
Issue #: /bcgov/entity#23554
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the bcrs-entities-create-ui license (Apache 2.0).