Skip to content

test(docs): set up vitest for docs components #759

Open

Description

@dreyfus92

the shared components in packages/docs/src/components (charts, StatsTable, framework cards) are changing every few days with more people tweaking and adding charts, and most of the regressions we've had are things you only see in the browser: chart sizes, misplaced logos and median lines, theme switching, the focused filter.

the idea is to have a test setup that catches those before review, using vitest in browser mode so each component runs its real client script in headless chromium, plus an axe check per component.

plan:

the rest can go incrementally, ideally adding the test in the same pr as the next change to that component.

Activity

  1. added
    enhancement
    on Nov 5, 2026
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

    enhancementmaintenance

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions