Files
bun.sh/docs
Claude Bot 1e07dac070 Add bunfig test.glob option to customize test file patterns
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>
2025-08-16 00:06:36 +00:00
..
2025-08-11 18:42:55 -07:00
2025-07-29 17:42:11 -07:00
2025-07-10 00:10:43 -07:00
2025-08-01 16:09:44 -07:00
2023-09-07 10:09:09 -07:00
2023-02-23 17:13:30 -08:00
2025-07-10 00:10:43 -07:00
2025-07-10 00:10:43 -07:00