Add web test harness (vitest) with first component test #11

Closed
opened 2026-07-20 09:52:17 +02:00 by thecrealm · 1 comment
Owner

Discovered during #1: the web CI job gates on typecheck + build only; there is no JS test runner yet. Wire vitest (+ @nuxt/test-utils if warranted) when the first real frontend logic lands, so 'tests green' covers both sides of the monorepo. Acceptance: CI web job runs a real test suite green.

Discovered during #1: the web CI job gates on typecheck + build only; there is no JS test runner yet. Wire vitest (+ @nuxt/test-utils if warranted) when the first real frontend logic lands, so 'tests green' covers both sides of the monorepo. Acceptance: CI web job runs a real test suite green.
Author
Owner

Closed with #9 (5c42ab3): vitest harness wired — 15 unit tests over the display logic (EDTF German formatting incl. seasons/uncertainty, §8.1 title preference, label collection, money formatting), pnpm test in the CI web job, green in CI.

Closed with #9 (5c42ab3): vitest harness wired — 15 unit tests over the display logic (EDTF German formatting incl. seasons/uncertainty, §8.1 title preference, label collection, money formatting), pnpm test in the CI web job, green in CI.
Sign in to join this conversation.
No labels
M0
M1
M2
M3
M4
M5
blocked
next
now
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
thecrealm/mokuroku#11
No description provided.