Skip to content

Add a JS unit test runner (vitest) for client-side logic #1602

Open

Description

@BenjaminMichaelis

The frontend (EssentialCSharp.Web/src) has no JS unit test setup; package.json only has vite and the Vue plugin, so pure helpers and composables are untested.

Proposal: add vitest (plus @vue/test-utils if component tests are wanted), a test script, and run it in CI.

Surfaced while reviewing #1267 (reading time tracker).

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions