mirror of
https://github.com/oven-sh/bun
synced 2026-02-15 13:22:07 +00:00
Allow users to specify custom glob patterns for test file discovery via bunfig.toml: [test] glob = "*.mytest.js" # or glob = ["*.mytest.js", "*.spec.ts"] - Add glob_patterns field to TestOptions structure - Update bunfig parser to handle test.glob string/array configuration - Modify test Scanner to use custom patterns when available - Resolve glob patterns relative to bunfig.toml directory - Add comprehensive tests covering various use cases - Update documentation for bunfig.toml and test configuration When custom patterns are specified, they completely replace the default test discovery patterns (*.test.*, *_test.*, *.spec.*, *_spec.*). 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>