Skip to content

Update vitest #546

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft

Update vitest #546

wants to merge 5 commits into from

Conversation

jaggederest
Copy link
Contributor

No description provided.

jaggederest and others added 5 commits July 2, 2025 19:24
Implement a centralized logging system to improve debugging capabilities
and separate logging concerns from the Storage class.

- Add logger module with configurable debug/info levels
- Support runtime configuration via coder.verbose setting
- Provide OutputChannelAdapter for VS Code integration
- Add ArrayAdapter for isolated unit testing
- Include performance benchmarks in tests
- Maintain backward compatibility via Storage delegation
- Update all components to use centralized logger

The logger responds to configuration changes without requiring extension
restart and includes source location tracking for debug messages.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Updated vitest from v0.34.6 to v3.2.4
- Fixed failing tests by replacing .toMatch() with .toThrowError() for rejected promise assertions
- All tests now pass with the updated vitest version

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant