Skip to content

test(components): backfill tutorial surface coverage#338

Open
bntvllnt wants to merge 1 commit into
mainfrom
test/issue-231-batch-a
Open

test(components): backfill tutorial surface coverage#338
bntvllnt wants to merge 1 commit into
mainfrom
test/issue-231-batch-a

Conversation

@bntvllnt
Copy link
Copy Markdown
Collaborator

Summary

  • Added Vitest coverage for five previously untested tutorial/content components: category-filter, content-intro, table-of-contents-panel, tutorial-filters, and tutorial-intro-content.
  • Covered rendering, callback payloads, progress states, keyboard/backdrop interactions, markdown rendering, category sorting/deduping, and route-aware selected-category behavior.
  • Kept the batch test-only with no component source changes.

Part of #231

Validation

  • pnpm -F @vllnt/ui exec vitest run src/components/category-filter/category-filter.test.tsx src/components/content-intro/content-intro.test.tsx src/components/table-of-contents-panel/table-of-contents-panel.test.tsx src/components/tutorial-filters/tutorial-filters.test.tsx src/components/tutorial-intro-content/tutorial-intro-content.test.tsx PASS (23 tests)
  • pnpm -F @vllnt/ui exec eslint src/components/category-filter/category-filter.test.tsx src/components/content-intro/content-intro.test.tsx src/components/table-of-contents-panel/table-of-contents-panel.test.tsx src/components/tutorial-filters/tutorial-filters.test.tsx src/components/tutorial-intro-content/tutorial-intro-content.test.tsx PASS
  • pnpm -F @vllnt/ui lint PASS
  • pnpm -F @vllnt/ui exec tsc --noEmit --project tsconfig.build.json PASS
  • pnpm build PASS
  • pnpm test:once PASS (221 files, 1238 tests)
  • git diff --check PASS

Notes: pnpm build emitted the existing Next.js multiple-lockfile warning for this nested worktree. pnpm test:once emitted existing jsdom navigation, duplicate-key, and Radix dialog description warnings while passing.

Design Deviations

None.

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

vercel Bot commented May 12, 2026

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

Project Deployment Actions Updated (UTC)
storybook Ready Ready Preview, Comment May 12, 2026 6:57pm
ui.vllnt.ai Ready Ready Preview, Comment May 12, 2026 6:57pm

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