-
Notifications
You must be signed in to change notification settings - Fork 283
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
test: fix all broken validations in packages folder #3495
test: fix all broken validations in packages folder #3495
Conversation
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.
@ashnashahgrover Please fix the commit lint check and make sure to squash the commits into one and rebase onto upstream main
Thank you for the PR. Please fix the lint problems and rebase, as @petermetz mentioned. |
4d717a0
to
0053b3e
Compare
I fixed the commit issue. The 14 files changed comes from a mistake I might have made in my understanding.... Since this issue is a dependency of issue 3483, I thought I needed to branch it off issue 3483's branch. So it was branched off that and not main. Should I just make a new PR with the same changes at this point? |
@ashnashahgrover No worries! If this is a dependency of another one then we can just mark it as such and then we'll return to the review once the parent PR (the one this depends on) has been merged. Then we can consolidate the diff down to the actual changes that are going into this one and it will all be nice and tidy and easy to review. No need to start a new PR, more than that, it's explicitly against the contribution guidelines to do so because then the review trail we've established is reset and a lot of duplicate work has to be done to review the new PR again in that case, so no new PRs needed. Please see my latest post on discord about how to declare the PR dependency: https://discord.com/channels/905194001349627914/908379338716631050/1281022175620366450
|
@ashnashahgrover Once the parent PR is merged you can just hit the re-request review button and this will pop back up on my radar for a final review (make sure to rebase onto upstream/main right before you request the new review) |
Primary Changes --------------- 1. Refactored all remaining negative test case exception assertions under cacti/packages Removed try-catch blocks, replaced with declarations through jest-extended's own API. Fixes hyperledger-cacti#3483 Signed-off-by: ashnashahgrover <ashnashahgrover777@gmail.com>
Primary Changes --------------- 1. Fixed broken assertions in deploy-contract-from-json-xdai.test.ts so they assert that “Nonce is too low” as expected. Fixes hyperledger-cacti#3493 Signed-off-by: ashnashahgrover <ashnashahgrover777@gmail.com>
0053b3e
to
1e35f55
Compare
Closing this due to inactivity, please feel free to re-open anytime if/when bandwidth is available to take it to the finish line. |
Commit to be reviewed
test: fix all broken validations in packages folder
Fixes #3493
Pull Request Requirements
upstream/main
branch and squashed into single commit to help maintainers review it more efficient and to avoid spaghetti git commit graphs that obfuscate which commit did exactly what change, when and, why.-s
flag when usinggit commit
command. You may refer to this link for more information.Character Limit
A Must Read for Beginners
For rebasing and squashing, here's a must read guide for beginners.