Files
bun.sh/test/cli
Claude Bot 669ffe3749 Improve peer dependency warning assertions in tests
Replace brittle substring assertions with more robust patterns:
- Line 3916: Use line-anchored pattern /^warn:[^\n]*...$/ to avoid
  matching across lines
- Line 7637: Use line-based check with split/some to ensure no
  individual line contains the warning
- Line 7720: Use line-based check with split/every for same purpose
- Line 7828: Use word-boundary regex /\bunmet peer dependency\b/i
- Line 7893: Use package-specific regex to target known packages
- Line 7959: Normalize stderr by stripping ANSI codes before checking

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-15 00:27:36 +00:00
..