Skip to content

test: Vitest + RTL unit tests for lib/{geo,share,places} (deferred) #39

Description

@AnayDhawan

Deferred until there's more contributor volume — tracked so it isn't lost. There are no unit tests
today, only e2e. The pure helpers in src/lib/ are easy, high-value targets.

Task

  • Add Vitest + React Testing Library (RTL).
  • Unit-test lib/geo.ts (distance, placesByDistance), lib/share.ts (URL encode/decode round-trip),
    lib/places.ts (filtering).

Acceptance: npm run test:unit passes with meaningful coverage of the three modules.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions