Skip to content

chore(frontend): patch coverage gap in ImportSitesModal.tsx / Layout.tsx (84.6%, below 85% threshold) #1279

Description

@Wikid82

Problem

Frontend patch coverage is at 84.6%, below the repo's 85% minimum threshold, traced to frontend/src/components/ImportSitesModal.tsx and Layout.tsx.

Origin

Introduced by already-merged commit bbf64f31 on development. Not related to the backend SQLite-test-cleanup fix (commits 5e38d2c5..b9a46963) — surfaced only because that PR's local patch coverage preflight (scripts/local-patch-report.sh) reports on overall repo state, not just the current PR's diff.

Next step

Needs investigation to determine whether closing the gap is test-only (adding coverage for existing, already-correct code paths) or requires touching component code (e.g. untestable branches needing refactor). Scope accordingly once triaged.

Priority

Low-moderate — doesn't block current CI (backend-only PRs aren't touching these files), but will keep tripping the overall coverage gate's non-zero exit until addressed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    backendServer-side codefrontendUI/UX codelowFuture enhancement, not urgenttestingTest suite

    Projects

    • Status
      In Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions