mirror of
https://github.com/oven-sh/bun
synced 2026-02-19 15:21:54 +00:00
Implements intelligent trailing space handling that enables running all tests within describe block hierarchies using a simple trailing space syntax. Features: - "auth " runs all tests starting with "auth " (entire hierarchy) - "auth nested " runs all tests starting with "auth nested " - Handles test names with actual trailing spaces correctly - Works with multiple trailing space filters - Optimized for performance (disables optimization for trailing space cases) Usage examples: bun test --full-test-name "auth " # All auth tests bun test --full-test-name "auth integration " # Specific sub-block bun test --full-test-name "auth " --full-test-name "user " # Multiple blocks This makes the feature incredibly useful for test runners and IDEs that want to provide "run all tests in describe block" functionality. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>