test(frontend): cover ProcessCard and UpdateBanner rendering - #7766
Open
innocarpe wants to merge 1 commit into
Open
test(frontend): cover ProcessCard and UpdateBanner rendering#7766innocarpe wants to merge 1 commit into
innocarpe wants to merge 1 commit into
Conversation
innocarpe
force-pushed
the
contrib/r12-frontend-render-tests
branch
from
August 6, 2026 23:28
76f7f82 to
0c878eb
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add render tests for two zero-coverage desktop components (123 assertions total):
ProcessCard (
process-card-render.test.tsx, 57) — pure component, jsdom:UpdateBanner (
update-banner-render.test.tsx, 66) — useUpdater mocked via real hook + mockedwindow.go.main.Appbindings + progress pushes (updater-shared-state pattern):Both appended to the
testchain indesktop/frontend/package.json.Issues
None — coverage gap, no issue report.
Verification
node --import tsxboth files — 57 + 66 passed, 0 failedtsc --noEmit— cleanDocumentation impact
Documentation-impact: none - test-only addition.
Cache impact
Cache-impact: none - test-only; not a cache-sensitive path.
Cache-guard: N/A
System-prompt-review: N/A