Add component tests for MultiSigWithdrawalPanel covering proposal sta… - #873
Add component tests for MultiSigWithdrawalPanel covering proposal sta…#873samuelfrancis163-eng wants to merge 3 commits into
Conversation
|
@samuelfrancis163-eng Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
|
Auto-review failed (API error). Leaving PR for human review. |
1 similar comment
|
Auto-review failed (API error). Leaving PR for human review. |
0f3ebcc to
b967b3c
Compare
|
Auto-review failed (API error). Leaving PR for human review. |
b967b3c to
d571fde
Compare
|
Auto-review failed (API error). Leaving PR for human review. |
|
|
||
| const mockGetCampaignUpdates = campaignUpdatesModule.getCampaignUpdates as jest.Mock; | ||
| const mockCreateCampaignUpdate = campaignUpdatesModule.createCampaignUpdate as jest.Mock; | ||
| const mockVerifyUpdateSignature = campaignUpdatesModule.verifyUpdateSignature as jest.Mock; |
d571fde to
44e09e3
Compare
|
Auto-review failed (API error). Leaving PR for human review. |
44e09e3 to
581611a
Compare
|
Auto-review failed (API error). Leaving PR for human review. |
581611a to
41e9d73
Compare
|
Auto-review failed (API error). Leaving PR for human review. |
41e9d73 to
0e71b6b
Compare
|
Auto-review failed (API error). Leaving PR for human review. |
0e71b6b to
7674912
Compare
|
Auto-review failed (API error). Leaving PR for human review. |
7674912 to
f6226e4
Compare
|
Auto-review failed (API error). Leaving PR for human review. |
f6226e4 to
05c6e86
Compare
|
Auto-review failed (API error). Leaving PR for human review. |
|
Auto-review failed (API error). Leaving PR for human review. |
|
Auto-review failed (API error). Leaving PR for human review. |
davidmaronio
left a comment
There was a problem hiding this comment.
thanks for adding coverage for MultiSigWithdrawalPanel, that component has been untested and #802 asked for exactly this. the intent is right, but the branch needs a substantial cleanup before it is reviewable:
- scope: a tests-only PR is currently touching 37 files, including package-lock.json, scripts/bundle-size-baseline.json, messages/en.json, es.json, src/app/api/health/route.ts, many unrelated test files, and e2e specs. please rebase onto latest main and reduce the diff to the new test file (plus any strictly required mock).
- test-results.json - a generated test-run artifact is committed; please remove it and consider adding it to .gitignore.
- src/tests/components/MultiSigWithdrawalPanel.test.tsx - the repo convention is src/tests/components/, so jest may not even pick this path up depending on the testMatch config; please move it next to the other component tests.
- the "Validate branch name" and "Validate commit messages" checks fail and those are real, not the stale-base issue; the branch and commits need to follow the conventions in CONTRIBUTING.md.
- the PR is also in merge-conflict state against main, which the rebase in item 1 will resolve.
happy to review the actual test content once the diff is just the test file.
Closes #802
Contributor Checklist
CONTRIBUTING.mdfor branch, commit, and PR title conventions.Validation
npm run lintnpm run format:checknpm run typechecknpm testnpm run buildNotes for Reviewers