Suppress noisy stderr output in test suite (#2665)
## Summary
- Add `onConsoleLog` handler in vitest config to suppress all console
output from tests (retry logs, settings errors, processor warnings)
- Set `NODE_OPTIONS=--no-deprecation` to suppress punycode `DEP0040`
warnings from vitest worker processes
- Set `VITE_CJS_IGNORE_WARNING=true` to suppress Vite CJS API
deprecation warning
#skip-bugbot
## Test plan
- Run `npm test` and verify clean output with no stderr noise
- Verify all 810 tests still pass
🤖 Generated with [Claude Code](https://claude.com/claude-code)
<!-- devin-review-badge-begin -->
---
<a href="https://app.devin.ai/review/dyad-sh/dyad/pull/2665"
target="_blank">
<picture>
<source media="(prefers-color-scheme: dark)"
srcset="https://static.devin.ai/assets/gh-open-in-devin-review-dark.svg?v=1">
<img
src="https://static.devin.ai/assets/gh-open-in-devin-review-light.svg?v=1"
alt="Open with Devin">
</picture>
</a>
<!-- devin-review-badge-end -->
---------
Co-authored-by:
Claude Opus 4.6 <noreply@anthropic.com>
正在显示
请
注册
或者
登录
后发表评论