Skip to content

Add tests for untested shell, map and task-queue components #314

Closed

Description

@yahyafakhroji

Summary

  1. Map and PlaceAutocomplete are invisible to the coverage gate. datum-ui re-exports them through src/exports/map.ts, and check-component-coverage.mjs only reads exports whose source is under src/components/. Map has one test, for the theme-aware tile layer; PlaceAutocomplete has none.
  2. Sidebar and Stepper have no tests. The coverage baseline exempts both.
  3. TaskQueue's hooks have no tests. useTaskQueue and the scope helpers in use-task-scope.ts are untested; the engine and summary dialog gained tests in feat(error-content): Show errors in plain language with the raw text kept #313.

Acceptance criteria

  • The coverage gate checks components re-exported through src/exports/, and still fails a genuinely untested one
  • PlaceAutocomplete has tests for searching, selecting with the keyboard, Escape, and the empty and error states
  • Map has a smoke test plus tests for its zoom, locate and fullscreen controls
  • Sidebar and Stepper have behaviour tests and leave the coverage baseline
  • TaskQueue's queue and scope hooks have tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

severity:highPolylane autofix severity: high

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions