Skip to content

test(app): cover SplitNotFound component#397

Merged
Spagero763 merged 2 commits into
tributary-protocol:mainfrom
Jokay1997:feat/unknown-split-404-state
Jul 27, 2026
Merged

test(app): cover SplitNotFound component#397
Spagero763 merged 2 commits into
tributary-protocol:mainfrom
Jokay1997:feat/unknown-split-404-state

Conversation

@Jokay1997

Copy link
Copy Markdown
Contributor

Closes #149

Summary

Adds vitest coverage for the SplitNotFound component, which renders a clear not-found (404) state when navigating to a missing split ID.

Changes

  • app/src/components/SplitNotFound.test.tsx: Test suite covering:
    • Renders a 404 badge
    • Renders the heading text
    • Shows the split id in the message
    • Shows a back link to the dashboard
    • Handles the string 'unknown' as an id

Verification

  • All existing tests pass
  • New tests cover the SplitNotFound component

Add vitest coverage for the 404 not-found state rendered when navigating to a missing split ID.

Closes tributary-protocol#149
@Jokay1997
Jokay1997 requested a review from Spagero763 as a code owner July 25, 2026 13:04
@Spagero763
Spagero763 merged commit 59100d5 into tributary-protocol:main Jul 27, 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.

Add an unknown-split (404) state

2 participants