Files
bun.sh/packages
Claude Bot aaa42ab56b fix(types): allow test.todo and describe.todo to accept single string argument
The documentation shows test.todo("description") with a single argument,
but the type definitions required a callback function as the second argument.
This caused TypeScript error TS2554 when following the documentation.

This fix adds TestTodo and DescribeTodo interfaces that support both:
- Single argument: test.todo("unimplemented feature")
- With callback: test.todo("feature", () => { ... })

Fixes #25959

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-12 09:59:33 +00:00
..