Skip to content

TEST: Cover Home recent-operations branches to stabilize frontend cov…#1977

Merged
rlundeen2 merged 1 commit into
microsoft:mainfrom
rlundeen2:rlundeen2/fix-frontend-coverage
Jun 9, 2026
Merged

TEST: Cover Home recent-operations branches to stabilize frontend cov…#1977
rlundeen2 merged 1 commit into
microsoft:mainfrom
rlundeen2:rlundeen2/fix-frontend-coverage

Conversation

@rlundeen2

Copy link
Copy Markdown
Contributor

Branch coverage sat exactly on the 85% global threshold and oscillated across it between runs (84.97%-85.09%), causing intermittent CI failures. Home.tsx was at 66.66% branch coverage with no tests for the last-activity update path, the hour/day/older relative-time formatting, the per-operation overflow cap, the outcome-icon fallbacks, the missing-preview fallback, or the invalid-timestamp guard. Add tests covering these branches, raising Home.tsx to 87.71% and global branch coverage to ~85.8%.

…erage

Branch coverage sat exactly on the 85% global threshold and oscillated across it between runs (84.97%-85.09%), causing intermittent CI failures. Home.tsx was at 66.66% branch coverage with no tests for the last-activity update path, the hour/day/older relative-time formatting, the per-operation overflow cap, the outcome-icon fallbacks, the missing-preview fallback, or the invalid-timestamp guard. Add tests covering these branches, raising Home.tsx to 87.71% and global branch coverage to ~85.8%.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@hannahwestra25 hannahwestra25 self-assigned this Jun 9, 2026
@rlundeen2 rlundeen2 enabled auto-merge June 9, 2026 20:46
@rlundeen2 rlundeen2 added this pull request to the merge queue Jun 9, 2026
Merged via the queue into microsoft:main with commit 1e38380 Jun 9, 2026
47 checks passed
@rlundeen2 rlundeen2 deleted the rlundeen2/fix-frontend-coverage branch June 9, 2026 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants