Skip to content

test: add frontend testing baseline#56

Draft
r0liveir wants to merge 1 commit into
mainfrom
feat/add-ci-testing
Draft

test: add frontend testing baseline#56
r0liveir wants to merge 1 commit into
mainfrom
feat/add-ci-testing

Conversation

@r0liveir

@r0liveir r0liveir commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Add a Vitest and React Testing Library baseline for the current frontend implementation. Configure jsdom setup, shared render helpers, frontend test scripts, and a combined check script for future CI use.

Cover the current stable seams with unit and component tests: Zustand session state updates, class merging, timer controls and countdown behavior, top bar topic rendering, delegation map quorum summaries, and motion sorting.

Keep the first suite intentionally unit/component focused. E2E should come later with Playwright, starting with mocked route smoke tests and then a small real-backend Docker Compose smoke path once frontend-backend wiring is less hardcoded.

Make npm run check the expected CI frontend gate: lint, TypeScript/Vite build, then Vitest. Adjust narrow lint/type blockers so that gate passes without introducing coverage thresholds yet.

Add a Vitest and React Testing Library baseline for the current frontend implementation. Configure jsdom setup, shared render helpers, frontend test scripts, and a combined check script for future CI use.

Cover the current stable seams with unit and component tests: Zustand session state updates, class merging, timer controls and countdown behavior, top bar topic rendering, delegation map quorum summaries, and motion sorting.

Keep the first suite intentionally unit/component focused. E2E should come later with Playwright, starting with mocked route smoke tests and then a small real-backend Docker Compose smoke path once frontend-backend wiring is less hardcoded.

Make npm run check the expected CI frontend gate: lint, TypeScript/Vite build, then Vitest. Adjust narrow lint/type blockers so that gate passes without introducing coverage thresholds yet.

Co-authored-by: Codex <codex@openai.com>
@r0liveir r0liveir marked this pull request as draft July 1, 2026 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants