Skip to content

Add webview testing infrastructure and pnpm catalog#770

Merged
EhabY merged 2 commits intomainfrom
add-webview-testing
Feb 2, 2026
Merged

Add webview testing infrastructure and pnpm catalog#770
EhabY merged 2 commits intomainfrom
add-webview-testing

Conversation

@EhabY
Copy link
Collaborator

@EhabY EhabY commented Feb 2, 2026

Summary

  • Add pnpm catalog with strict mode for shared dependency versions
  • Add webview unit tests for shared utilities
  • Upgrade vite 6→7 and @vitejs/plugin-react-swc 3→4
  • Add typed message API and ErrorBoundary component

@EhabY EhabY force-pushed the add-webview-testing branch 2 times, most recently from b730720 to 8a2cbdb Compare February 2, 2026 09:27
- Add pnpm catalog with strict mode to enforce version consistency
  across workspace packages (vite, react, typescript, etc.)
- Upgrade vite 6→7 and @vitejs/plugin-react-swc 3→4
- Add vitest webview project with jsdom environment
- Add unit tests for webview-shared (api, hooks, ErrorBoundary)
- Add typed message helpers for Tasks webview
- Add ErrorBoundary and logger utilities to webview-shared
- Fix test/tsconfig.json for JSX support in test files
- Simplify test scripts (remove pretest:extension, add aliases)
- Update CLAUDE.md and CONTRIBUTING.md with test guidance
@EhabY EhabY force-pushed the add-webview-testing branch from 8a2cbdb to d6e9a91 Compare February 2, 2026 09:35
@EhabY EhabY self-assigned this Feb 2, 2026
@EhabY EhabY merged commit 2bd2cc7 into main Feb 2, 2026
6 checks passed
@EhabY EhabY deleted the add-webview-testing branch February 2, 2026 10:40
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