Skip to content

test: add 6 missing route tests and refine coverage excludes#108

Merged
hydro13 merged 1 commit intomainfrom
chore/coverage-improvements
Apr 11, 2026
Merged

test: add 6 missing route tests and refine coverage excludes#108
hydro13 merged 1 commit intomainfrom
chore/coverage-improvements

Conversation

@hydro13
Copy link
Copy Markdown
Owner

@hydro13 hydro13 commented Apr 11, 2026

Summary

  • Add route tests for 6 untested route files: clipboard, sidebar, pinboards, awareness, previews, sync (86 new test cases)
  • Exclude 5 more Electron-dependent modules from coverage that always report 0% (behavior/observer, extensions/toolbar, mcp/server, mcp/api-client, agents/x-scout)
  • Add updateBoardSettings mock to test helpers

Results: 93 test files, 1957 tests, coverage ~68% (up from ~54% on Codecov)

Test plan

  • npm run verify passes locally (93 test files, 1957 tests)
  • CI verify.yml passes
  • Codecov badge updates to ~68% after merge

Add route tests for clipboard, sidebar, pinboards, awareness, previews,
and sync — the 6 route files that had no test coverage.

Also exclude 5 more Electron-dependent modules from coverage metrics
(behavior/observer, extensions/toolbar, mcp/server, mcp/api-client,
agents/x-scout) that always report 0%.

Results: 93 test files, 1957 tests, coverage ~68% (up from ~54%).
@codecov-commenter
Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@hydro13 hydro13 merged commit 32ef08b into main Apr 11, 2026
4 checks passed
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