Skip to content

feat(graph): add branch-coverage tests for graph-view.tsx - #570

Merged
d-oit merged 1 commit into
mainfrom
feat/graph-view-branch-coverage
Jul 30, 2026
Merged

feat(graph): add branch-coverage tests for graph-view.tsx#570
d-oit merged 1 commit into
mainfrom
feat/graph-view-branch-coverage

Conversation

@d-oit

@d-oit d-oit commented Jul 30, 2026

Copy link
Copy Markdown
Owner

Branch Coverage: graph-view.tsx (59.84% → ~70% branches)

What

21 targeted tests covering key branches in the graph-view.tsx component.

Coverage Areas

Area Tests
Empty state no entities overlay
Layout switching force, circular, hierarchical
Focus mode toggle on/off, filtered neighbor display
Node selection click, click-to-deselect, Enter, Space
History controls undo, redo with history guards
Persistence save snapshot to localStorage
Edge handling bad link filtering, duplicate edge removal
Node display long name truncation, entity type legend
Counts node/edge counts in toolbar, focus mode counts

@vercel

vercel Bot commented Jul 30, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
do-knowledge-studio Ready Ready Preview, v0 Jul 30, 2026 6:58pm

@github-actions github-actions Bot added config tests Related to automated/manual tests labels Jul 30, 2026
@codacy-production

Copy link
Copy Markdown
Contributor

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@d-oit
d-oit merged commit d438610 into main Jul 30, 2026
22 of 23 checks passed
@d-oit
d-oit deleted the feat/graph-view-branch-coverage branch July 30, 2026 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

config tests Related to automated/manual tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant