Skip to content

test(components): backfill learning content coverage#352

Open
bntvllnt wants to merge 1 commit into
mainfrom
chore/231-content-tests
Open

test(components): backfill learning content coverage#352
bntvllnt wants to merge 1 commit into
mainfrom
chore/231-content-tests

Conversation

@bntvllnt
Copy link
Copy Markdown
Collaborator

@bntvllnt bntvllnt commented May 13, 2026

Summary

  • Add Vitest coverage for lang-provider, overview-board, quiz, step-by-step, and tutorial-complete.
  • Cover locale detection, overview CTA/icon rendering, quiz answer flows, interactive step completion, and tutorial completion callbacks/links.
  • Keep this test: backfill Vitest coverage for components shipped without tests #231 batch test-only; no source or generated registry changes.

Related to #231

Validation

  • pnpm -F @vllnt/ui exec vitest run src/components/lang-provider/lang-provider.test.tsx src/components/overview-board/overview-board.test.tsx src/components/step-by-step/step-by-step.test.tsx src/components/quiz/quiz.test.tsx src/components/tutorial-complete/tutorial-complete.test.tsx — 5 files, 16 tests passed
  • pnpm -F @vllnt/ui exec eslint src/components/lang-provider/lang-provider.test.tsx src/components/overview-board/overview-board.test.tsx src/components/step-by-step/step-by-step.test.tsx src/components/quiz/quiz.test.tsx src/components/tutorial-complete/tutorial-complete.test.tsx
  • pnpm -F @vllnt/ui lint
  • pnpm -F @vllnt/ui exec tsc --noEmit --project tsconfig.build.json
  • pnpm build
  • pnpm test:once — 221 files, 1231 tests passed
  • pnpm -F @vllnt/ui check:use-client
  • pnpm -F @vllnt/ui exec tsx scripts/check-story-coverage.ts
  • pnpm -F @vllnt/ui exec tsx scripts/verify-stories.ts
  • pnpm -F @vllnt/ui build-storybook
  • git diff --check

CI

Passed on PR #352:

  • Quality Gates
  • Verify Stories
  • Build Storybook
  • Storybook Tests
  • Visual Regression
  • Scan codebase health
  • Enforce issue-linked PRs
  • Vercel Preview Comments
  • Vercel – storybook
  • Vercel – ui.vllnt.ai

@bntvllnt bntvllnt self-assigned this May 13, 2026
@vercel
Copy link
Copy Markdown

vercel Bot commented May 13, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
storybook Ready Ready Preview, Comment May 13, 2026 5:47am
ui.vllnt.ai Ready Ready Preview, Comment May 13, 2026 5:47am

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tech-debt Refactoring or cleanup

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant