Files
bun.sh/test/cli
Claude Bot 53282ab45b Implement Istanbul-style coverage ignore comments
This implements support for Istanbul-style ignore comments in code coverage:
- /* istanbul ignore next */ - ignores the next statement
- /* istanbul ignore file */ - ignores the entire file
- /* istanbul ignore if */ - ignores if branch (TODO)
- /* istanbul ignore else */ - ignores else branch (TODO)
- Support for both single-line (//) and multi-line (/* */) comments
- Support for optional explanatory text after colon

Changes:
- Add CoverageIgnoreDirective structure in js_lexer.zig
- Parse ignore comments during lexing
- Add ignore directive parsing in ByteRangeMapping.compute()
- Apply ignore logic in generateReportFromBlocks()
- Add comprehensive test cases for different ignore patterns

Fixes #7662

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-05 21:24:25 +00:00
..
2025-05-24 13:36:51 -07:00
2025-05-16 23:40:56 -07:00