Skip to content

feat: added testing using vitest and ink-testing#1

Open
Aniket-508 wants to merge 6 commits intomainfrom
test/ink-ui-tests
Open

feat: added testing using vitest and ink-testing#1
Aniket-508 wants to merge 6 commits intomainfrom
test/ink-ui-tests

Conversation

@Aniket-508
Copy link
Copy Markdown
Owner

No description provided.

- Add vitest, @vitest/coverage-v8, ink-testing devDependencies
- Add test, test:watch, and test:coverage scripts
- Configure Vitest with Node env and registry __tests__ glob

Made-with: Cursor
- Re-export ink-testing helpers and KEY from a single entry point
- Wrap renderTui with registry ThemeProvider for useTheme() in tests

Made-with: Cursor
- Cover bar/line/pie charts, heat map, gauge, sparkline, token usage
- Cover spinner, skeleton, clocks, timers, stopwatch, toasts, streaming text

Made-with: Cursor
- Cover text, password, email, number, masked, path, search, tag inputs
- Cover select, multi-select, checkbox group, radio, toggle, pickers
- Cover confirm, form, form-field, command palette, and menu

Made-with: Cursor
- Cover box, stack, grid, columns, center, scroll view, aspect ratio
- Cover table, list, JSON, log, markdown, diff, trees, file picker
- Cover virtual list, data grid, pagination, git status, file change

Made-with: Cursor
- Cover modal, dialog, drawer, popover, banner, tabs, sidebar, breadcrumb
- Cover app shell, login/setup/welcome flows, wizard, help and splash screens
- Cover AI-style blocks, usage monitor, notifications, theme and error boundary

Made-with: Cursor
@gitguardian
Copy link
Copy Markdown

gitguardian bot commented Apr 6, 2026

⚠️ GitGuardian has uncovered 1 secret following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secret in your pull request
GitGuardian id GitGuardian status Secret Commit Filename
29737646 Triggered Generic Password 79d0ef2 registry/ui/tests/password-input.test.tsx View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secret safely. Learn here the best practices.
  3. Revoke and rotate this secret.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 6, 2026

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

Project Deployment Actions Updated (UTC)
termcn Ready Ready Preview, Comment Apr 6, 2026 7:44am

Request Review

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.

1 participant